diff mbox

[U-Boot,06/10] kconfig: move CONFIG_CMD_GO to Kconfig

Message ID 1410079409-28450-7-git-send-email-yamada.m@jp.panasonic.com
State Superseded
Headers show

Commit Message

Masahiro Yamada Sept. 7, 2014, 8:43 a.m. UTC
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>
---

 common/Kconfig                | 4 ++++
 include/config_cmd_defaults.h | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

Comments

Simon Glass Sept. 8, 2014, 6:35 p.m. UTC | #1
Tested with sandbox:

Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/common/Kconfig b/common/Kconfig
index 99164cd..fb14491 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -13,4 +13,8 @@  config CMD_EXPORTENV
 	bool "Enable env export command"
 	default y
 
+config CMD_GO
+	bool "Enable go command"
+	default y
+
 endmenu
diff --git a/include/config_cmd_defaults.h b/include/config_cmd_defaults.h
index 5761d7c..0ef63ee 100644
--- a/include/config_cmd_defaults.h
+++ b/include/config_cmd_defaults.h
@@ -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