[U-Boot] [PATCH v2 06/10] kconfig: move CONFIG_CMD_GO to Kconfig
Masahiro Yamada
yamada.m at jp.panasonic.com
Tue Sep 16 09:33:03 CEST 2014
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 at jp.panasonic.com>
Acked-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Add a help doc
common/Kconfig | 6 ++++++
include/config_cmd_defaults.h | 1 -
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/common/Kconfig b/common/Kconfig
index f628315..7875e5e 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -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
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
--
1.9.1
More information about the U-Boot
mailing list