[U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

Mugunthan V N mugunthanvnm at ti.com
Fri Apr 1 13:29:44 CEST 2016


Add CONFIG_NAND as a Kconfig option so that it can be selected
using menuconfig or defconfig.

Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
---
 drivers/mtd/nand/Kconfig | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 2fc73ef..7787505 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -1,4 +1,12 @@
-menu "NAND Device Support"
+menuconfig NAND
+	bool "NAND device support"
+	help
+	  You must select Y to enable any NAND device support
+	  Generally if you have any NAND devices this is a given
+
+	  If unsure, say Y
+
+if NAND
 
 config SYS_NAND_SELF_INIT
 	bool
@@ -118,4 +126,4 @@ config SPL_NAND_DENALI
 
 endif
 
-endmenu
+endif
-- 
2.8.0.rc3.9.g44915db



More information about the U-Boot mailing list