summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/raw/Kconfig')
-rw-r--r--drivers/mtd/nand/raw/Kconfig15
1 files changed, 12 insertions, 3 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 9c8a32bb0a8..754b99bf3eb 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -50,6 +50,8 @@ config SYS_NAND_NO_SUBPAGE_WRITE
config DM_NAND_ATMEL
bool "Support Atmel NAND controller with DM support"
+ depends on ARCH_AT91
+ select ATMEL_EBI
select SYS_NAND_SELF_INIT
imply SYS_NAND_USE_FLASH_BBT
help
@@ -58,6 +60,7 @@ config DM_NAND_ATMEL
config NAND_ATMEL
bool "Support Atmel NAND controller"
+ depends on ARCH_AT91
select SYS_NAND_SELF_INIT
imply SYS_NAND_USE_FLASH_BBT
help
@@ -115,6 +118,7 @@ endif
config NAND_BRCMNAND
bool "Support Broadcom NAND controller"
depends on OF_CONTROL && DM && DM_MTD
+ depends on ARCH_BCMBCA || ARCH_BMIPS || TARGET_BCMNS || TARGET_BCMNS3
select SYS_NAND_SELF_INIT
help
Enable the driver for NAND flash on platforms using a Broadcom NAND
@@ -148,6 +152,7 @@ config NAND_BRCMNAND_IPROC
config NAND_DAVINCI
bool "Support TI Davinci NAND controller"
+ depends on ARCH_DAVINCI || ARCH_KEYSTONE
select SYS_NAND_SELF_INIT if TARGET_DA850EVM
help
Enable this driver for NAND flash controllers available in TI Davinci
@@ -192,7 +197,7 @@ config SPL_NAND_LOAD
config NAND_CADENCE
bool "Support Cadence NAND controller as a DT device"
- depends on OF_CONTROL && DM_MTD
+ depends on OF_CONTROL && DM_MTD && ARCH_SOCFPGA
select SYS_NAND_SELF_INIT
select SPL_SYS_NAND_SELF_INIT
select SPL_NAND_BASE
@@ -234,6 +239,7 @@ config NAND_FSL_ELBC_DT
config NAND_FSL_IFC
bool "Support Freescale Integrated Flash Controller NAND driver"
+ depends on ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 || PPC
select TPL_SYS_NAND_SELF_INIT if TPL_NAND_SUPPORT
select TPL_NAND_INIT if TPL && !TPL_FRAMEWORK
select SPL_SYS_NAND_SELF_INIT
@@ -257,13 +263,14 @@ config NAND_KMETER1
config NAND_LPC32XX_MLC
bool "Support LPC32XX_MLC controller"
+ depends on ARCH_LPC32XX
select SYS_NAND_SELF_INIT
help
Enable the LPC32XX MLC NAND controller.
config NAND_OMAP_GPMC
bool "Support OMAP GPMC NAND controller"
- depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
+ depends on ARCH_OMAP2PLUS || ARCH_K3
select SYS_NAND_SELF_INIT if ARCH_K3
select SPL_NAND_INIT if ARCH_K3
select SPL_SYS_NAND_SELF_INIT if ARCH_K3
@@ -431,6 +438,7 @@ endif
config NAND_PXA3XX
bool "Support for NAND on PXA3xx and Armada 370/XP/38x"
+ depends on ARCH_MVEBU
select SYS_NAND_SELF_INIT
select DM_MTD
select REGMAP
@@ -490,7 +498,7 @@ endif
config NAND_ARASAN
bool "Configure Arasan Nand"
select SYS_NAND_SELF_INIT
- depends on DM_MTD
+ depends on DM_MTD && ARCH_ZYNQMP
imply CMD_NAND
help
This enables Nand driver support for Arasan nand flash
@@ -553,6 +561,7 @@ endif
config NAND_ZYNQ
bool "Support for Zynq Nand controller"
+ depends on ARCH_ZYNQ
select SPL_SYS_NAND_SELF_INIT
select SYS_NAND_SELF_INIT
select DM_MTD