From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Date: Sun, 7 Sep 2014 17:43:24 +0900 Subject: [U-Boot] [PATCH 05/10] kconfig: move CONFIG_CMD_EXPORTENV to Kconfig In-Reply-To: <1410079409-28450-1-git-send-email-yamada.m@jp.panasonic.com> References: <1410079409-28450-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <1410079409-28450-6-git-send-email-yamada.m@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- common/Kconfig | 4 ++++ configs/bf506f-ezkit_defconfig | 1 + include/config_cmd_defaults.h | 1 - include/configs/bf506f-ezkit.h | 1 - 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index 77c72a2..99164cd 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -9,4 +9,8 @@ config CMD_CRC32 bool "Enable crc32 command" default y +config CMD_EXPORTENV + bool "Enable env export command" + default y + 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 -- 1.9.1