]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/Kconfig
sunxi: automatically select SPL_NAND_SUPPORT in Kconfig
[u-boot] / drivers / mtd / nand / Kconfig
index 47ec43500cb4c880f5d88f1049ce52c024bbbbe6..75eefc8a2b580f0cdad195cad2ee2584e7ad75bd 100644 (file)
@@ -10,15 +10,14 @@ config SYS_NAND_SELF_INIT
          NAND initialization process.
 
 config NAND_DENALI
-       bool "Support Denali NAND controller"
+       bool
        select SYS_NAND_SELF_INIT
        imply CMD_NAND
-       help
-         Enable support for the Denali NAND controller.
 
 config NAND_DENALI_DT
        bool "Support Denali NAND controller as a DT device"
-       depends on NAND_DENALI && OF_CONTROL && DM
+       select NAND_DENALI
+       depends on OF_CONTROL && DM
        help
          Enable the driver for NAND flash on platforms using a Denali NAND
          controller as a DT device.
@@ -96,9 +95,10 @@ config NAND_PXA3XX
 
 config NAND_SUNXI
        bool "Support for NAND on Allwinner SoCs"
-       depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
+       depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUN8I
        select SYS_NAND_SELF_INIT
        select SYS_NAND_U_BOOT_LOCATIONS
+       select SPL_NAND_SUPPORT
        imply CMD_NAND
        ---help---
        Enable support for NAND. This option enables the standard and
@@ -124,6 +124,7 @@ endif
 
 config NAND_ARASAN
        bool "Configure Arasan Nand"
+       select SYS_NAND_SELF_INIT
        imply CMD_NAND
        help
          This enables Nand driver support for Arasan nand flash
@@ -140,8 +141,11 @@ config NAND_MXC
 
 config NAND_MXS
        bool "MXS NAND support"
-       depends on MX6 || MX7
+       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.