u-boot/drivers/dma/Kconfig
Tom Rini 2043f9c4c1 ti: keystone: dma: Migrate to Kconfig
Move the main option for handling drivers/dma/keystone_nav* to Kconfig,
and enable it by default.  All of the sub-symbols are not configurable,
so remove them from the CONFIG namespace.

Signed-off-by: Tom Rini <trini@konsulko.com>
2021-09-27 21:38:34 -04:00

93 lines
2.3 KiB
Plaintext

menu "DMA Support"
config DMA
bool "Enable Driver Model for DMA drivers"
depends on DM
help
Enable driver model for DMA. DMA engines can do
asynchronous data transfers without involving the host
CPU. Currently, this framework can be used to offload
memory copies to and from devices like qspi, ethernet
etc Drivers provide methods to access the DMA devices
buses that is used to transfer data to and from memory.
The uclass interface is defined in include/dma.h.
config DMA_CHANNELS
bool "Enable DMA channels support"
depends on DMA
help
Enable channels support for DMA. Some DMA controllers have multiple
channels which can either transfer data to/from different devices.
config SANDBOX_DMA
bool "Enable the sandbox DMA test driver"
depends on DMA && DMA_CHANNELS && SANDBOX
help
Enable support for a test DMA uclass implementation. It stimulates
DMA transfer by simple copying data between channels.
config BCM6348_IUDMA
bool "BCM6348 IUDMA driver"
depends on ARCH_BMIPS
select DMA_CHANNELS
help
Enable the BCM6348 IUDMA driver.
This driver support data transfer from devices to
memory and from memory to devices.
config DMA_LPC32XX
bool "LPC32XX DMA driver"
select DMA_LEGACY
help
Enable some legacy DMA code for lpc32xx. It provides some direct
functions likes lpc32xx_dma_wait_status() which can be called from
other code.
This should be converted to use driver model and UCLASS_DMA.
config TI_EDMA3
bool "TI EDMA3 driver"
select DMA_LEGACY
help
Enable the TI EDMA3 driver for DRA7xx and AM43xx evms.
This driver support data transfer between memory
regions.
config TI_KSNAV
bool "TI Keystone Navigator DMA driver"
depends on ARCH_KEYSTONE
default y
select DMA_LEGACY
help
Enable the Keystone Navigator driver for Keystone 2 platforms.
config APBH_DMA
bool "Support APBH DMA"
depends on MX23 || MX28 || MX6 || MX7 || IMX8 || IMX8M
select DMA_LEGACY
help
Enable APBH DMA driver.
if APBH_DMA
config APBH_DMA_BURST
bool "Enable DMA BURST"
config APBH_DMA_BURST8
bool "Enable DMA BURST8"
endif
config DMA_LEGACY
bool "Legacy DMA support"
default y if FSLDMAFEC
help
Enable legacy DMA support. This does not use driver model and should
be migrated to the new API.
It is required for some PowerPC boards.
source "drivers/dma/ti/Kconfig"
endmenu # menu "DMA Support"