diff options
author | Adam Ford <aford173@gmail.com> | 2018-02-06 08:34:45 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-08 12:48:11 -0500 |
commit | 99bec1aead5927c54f4364bfe10823a86fe0dad2 (patch) | |
tree | 0083933a338529228ecfacb1863986825b51bd71 /drivers | |
parent | 99dcbdd8a3c3b6b9d7a4adb32bce73e51e51b7c9 (diff) | |
download | u-boot-99bec1aead5927c54f4364bfe10823a86fe0dad2.zip u-boot-99bec1aead5927c54f4364bfe10823a86fe0dad2.tar.gz u-boot-99bec1aead5927c54f4364bfe10823a86fe0dad2.tar.bz2 |
Convert CONFIG_APBH_DMA et al to Kconfig
This converts the following to Kconfig:
CONFIG_APBH_DMA
CONFIG_APBH_DMA_BURST
CONFIG_APBH_DMA_BURST8
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Stefan Agner <stefan.agner@toradex.com>
[trini: Add in MMC as well]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/Kconfig | 15 | ||||
-rw-r--r-- | drivers/mmc/Kconfig | 4 | ||||
-rw-r--r-- | drivers/mtd/nand/Kconfig | 3 |
3 files changed, 22 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 1b92c77..4ee6afa 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -19,4 +19,19 @@ config TI_EDMA3 This driver support data transfer between memory regions. +config APBH_DMA + bool "Support APBH DMA" + depends on MX23 || MX28 || MX6 || MX7 + 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 + endmenu # menu "DMA Support" diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index a1b21fd..d5e2816 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -209,6 +209,10 @@ config MMC_MXC config MMC_MXS bool "Freescale MXS Multimedia Card Interface support" + depends on MX23 || MX28 || MX6 || MX7 + select APBH_DMA + select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7 + select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7 help This selects the Freescale SSP MMC controller found on MXS based platforms like mx23/28. diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 57d2757..a820af6 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -142,6 +142,9 @@ config NAND_MXS bool "MXS NAND support" depends on MX23 || MX28 || MX6 || MX7 imply CMD_NAND + select APBH_DMA + select APBH_DMA_BURST if ARCH_MX6 || ARCH_MX7 + select APBH_DMA_BURST8 if ARCH_MX6 || ARCH_MX7 help This enables NAND driver for the NAND flash controller on the MXS processors. |