Merge branch 'sandbox' of git://git.denx.de/u-boot-x86
[oweals/u-boot.git] / drivers / mtd / nand / Kconfig
index 1d9bf4802caef5fc6c6b484b5303d3d8b2ddb2ea..c24221499bfb6cd47f272cd5e71839d7296cf4ea 100644 (file)
@@ -1,9 +1,16 @@
 menu "NAND Device Support"
 
+config SYS_NAND_SELF_INIT
+       bool
+       help
+         This option, if enabled, provides more flexible and linux-like
+         NAND initialization process.
+
 if !SPL_BUILD
 
 config NAND_DENALI
        bool "Support Denali NAND controller"
+       select SYS_NAND_SELF_INIT
        help
          Enable support for the Denali NAND controller.
 
@@ -29,4 +36,14 @@ config NAND_DENALI_SPARE_AREA_SKIP_BYTES
 
 endif
 
+if SPL_BUILD
+
+config SPL_NAND_DENALI
+       bool "Support Denali NAND controller for SPL"
+       help
+         This is a small implementation of the Denali NAND controller
+         for use on SPL.
+
+endif
+
 endmenu