summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2017-08-07 21:37:18 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-12 13:18:47 (GMT)
commit5bbc265becbec9ce1e489760eb34922ac8c0bed9 (patch)
tree9d69a188c31913a207c5f0a37c7b4975cc45583d /drivers
parent0d43fded20e390e2e779ae4fa831fc00157f454a (diff)
downloadu-boot-fsl-qoriq-5bbc265becbec9ce1e489760eb34922ac8c0bed9.tar.xz
Convert CONFIG_NAND to Kconfig
This converts the following to Kconfig: CONFIG_NAND Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Sync up a few more, add imply's] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 3508c62..71d678f 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -1,4 +1,7 @@
-menu "NAND Device Support"
+
+menuconfig NAND
+ bool "NAND Device Support"
+if NAND
config SYS_NAND_SELF_INIT
bool
@@ -173,4 +176,4 @@ config SPL_NAND_DENALI
endif
-endmenu
+endif # if NAND