diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-09-16 16:33:02 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-24 18:30:28 -0400 |
commit | cccee18918a9bcc1b34ddcd33f219a4ed26fc690 (patch) | |
tree | 1890bebb860a264eb7605759c5a4a3ac8ad1117f | |
parent | ca05ee9d43297cef9bb9ec74973d58586a6e4321 (diff) | |
download | u-boot-imx-cccee18918a9bcc1b34ddcd33f219a4ed26fc690.zip u-boot-imx-cccee18918a9bcc1b34ddcd33f219a4ed26fc690.tar.gz u-boot-imx-cccee18918a9bcc1b34ddcd33f219a4ed26fc690.tar.bz2 |
kconfig: move CONFIG_CMD_EXPORTENV to Kconfig
Since CONFIG_CMD_EXPORTENV is defined in config_cmd_defaults.h,
it should be enabled for all the boards except bf506f-ezkit
that undefs it explicitely.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/Kconfig | 6 | ||||
-rw-r--r-- | configs/bf506f-ezkit_defconfig | 1 | ||||
-rw-r--r-- | include/config_cmd_defaults.h | 1 | ||||
-rw-r--r-- | include/configs/bf506f-ezkit.h | 1 |
4 files changed, 7 insertions, 2 deletions
diff --git a/common/Kconfig b/common/Kconfig index 5dfac25..f628315 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -13,4 +13,10 @@ config CMD_CRC32 help Compute CRC32. +config CMD_EXPORTENV + bool "Enable env export command" + default y + help + Export environments. + endmenu diff --git a/configs/bf506f-ezkit_defconfig b/configs/bf506f-ezkit_defconfig index da25718..09c9899 100644 --- a/configs/bf506f-ezkit_defconfig +++ b/configs/bf506f-ezkit_defconfig @@ -1,3 +1,4 @@ CONFIG_BLACKFIN=y CONFIG_TARGET_BF506F_EZKIT=y # CONFIG_CMD_BOOTM is not set +# CONFIG_CMD_EXPORTENV is not set diff --git a/include/config_cmd_defaults.h b/include/config_cmd_defaults.h index 896d4e5..5761d7c 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_EXPORTENV 1 #define CONFIG_CMD_GO 1 #define CONFIG_CMD_IMPORTENV 1 diff --git a/include/configs/bf506f-ezkit.h b/include/configs/bf506f-ezkit.h index fdd10c3..f9936a7 100644 --- a/include/configs/bf506f-ezkit.h +++ b/include/configs/bf506f-ezkit.h @@ -85,7 +85,6 @@ */ #define CONFIG_ENV_IS_NOWHERE #define CONFIG_ENV_SIZE 0x400 -#undef CONFIG_CMD_EXPORTENV #undef CONFIG_CMD_IMPORTENV |