summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/Kconfig6
-rw-r--r--commands/Makefile2
2 files changed, 7 insertions, 1 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index f137f47324..40213d28c9 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -142,6 +142,12 @@ config CMD_UMOUNT
default y
prompt "umount"
+config CMD_NAND
+ tristate
+ default y
+ depends on NAND
+ prompt "nand"
+
endmenu
menu "console "
diff --git a/commands/Makefile b/commands/Makefile
index c89adcfff0..fb1b0caf4f 100644
--- a/commands/Makefile
+++ b/commands/Makefile
@@ -37,7 +37,7 @@ obj-$(CONFIG_CMD_EXPORT) += export.o
obj-$(CONFIG_CMD_PRINTENV) += printenv.o
obj-$(CONFIG_CMD_SAVEENV) += saveenv.o
obj-$(CONFIG_CMD_LOADENV) += loadenv.o
-obj-$(CONFIG_NAND) += nand.o
+obj-$(CONFIG_CMD_NAND) += nand.o
obj-$(CONFIG_CMD_TRUE) += true.o
obj-$(CONFIG_CMD_FALSE) += false.o
obj-$(CONFIG_CMD_VERSION) += version.o