]> git.sur5r.net Git - u-boot/commitdiff
kconfig: move CONFIG_CMD_GO to Kconfig
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 16 Sep 2014 07:33:03 +0000 (16:33 +0900)
committerTom Rini <trini@ti.com>
Wed, 24 Sep 2014 22:30:28 +0000 (18:30 -0400)
Since CONFIG_CMD_GO is defined in config_cmd_defaults.h
(and no board undefs it its own header), it can be moved to
Kconfig with the default value "y".

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
common/Kconfig
include/config_cmd_defaults.h

index f628315dbd095e656a071e4e0fd6e82a75f0e0dd..7875e5e2e20c0ed8592450afb79b781f8fbaad90 100644 (file)
@@ -19,4 +19,10 @@ config CMD_EXPORTENV
        help
          Export environments.
 
+config CMD_GO
+       bool "Enable go command"
+       default y
+       help
+         Start an application at a given address.
+
 endmenu
index 5761d7c3fdfebb588c5e8fc971bd641e735647c9..0ef63eee1472028237a30a10242d1b03791d67d5 100644 (file)
@@ -9,7 +9,6 @@
 #ifndef _CONFIG_CMD_DEFAULTS_H_
 #define _CONFIG_CMD_DEFAULTS_H_
 
-#define CONFIG_CMD_GO 1
 #define CONFIG_CMD_IMPORTENV 1
 
 #endif