]> 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 78a39abf7542e122e5c59be6dbb7cf07156c8913..75eefc8a2b580f0cdad195cad2ee2584e7ad75bd 100644 (file)
@@ -95,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
@@ -123,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
@@ -139,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.