]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/Kconfig
Merge branch 'rmobile' of git://git.denx.de/u-boot-sh
[u-boot] / drivers / mtd / nand / Kconfig
index 1d9bf4802caef5fc6c6b484b5303d3d8b2ddb2ea..72825c3e2edf1fa689c04ec474b3057b9e5a6f99 100644 (file)
@@ -1,9 +1,14 @@
 menu "NAND Device Support"
 
-if !SPL_BUILD
+config SYS_NAND_SELF_INIT
+       bool
+       help
+         This option, if enabled, provides more flexible and linux-like
+         NAND initialization process.
 
 config NAND_DENALI
        bool "Support Denali NAND controller"
+       select SYS_NAND_SELF_INIT
        help
          Enable support for the Denali NAND controller.
 
@@ -27,6 +32,14 @@ config NAND_DENALI_SPARE_AREA_SKIP_BYTES
          of OOB area before last ECC sector data starts.  This is potentially
          used to preserve the bad block marker in the OOB area.
 
+if SPL
+
+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