kconfig: move CONFIG_CMD_EXPORTENV to Kconfig
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 16 Sep 2014 07:33:02 +0000 (16:33 +0900)
committerTom Rini <trini@ti.com>
Wed, 24 Sep 2014 22:30:28 +0000 (18:30 -0400)
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>
common/Kconfig
configs/bf506f-ezkit_defconfig
include/config_cmd_defaults.h
include/configs/bf506f-ezkit.h

index 5dfac250a2e2ac1ece80924af00c2de42b25dd72..f628315dbd095e656a071e4e0fd6e82a75f0e0dd 100644 (file)
@@ -13,4 +13,10 @@ config CMD_CRC32
        help
          Compute CRC32.
 
+config CMD_EXPORTENV
+       bool "Enable env export command"
+       default y
+       help
+         Export environments.
+
 endmenu
index da25718709e68b45009d6d52ad67d4ccb5ab69fb..09c9899ca32802d38a504880e0ca11c225c5de81 100644 (file)
@@ -1,3 +1,4 @@
 CONFIG_BLACKFIN=y
 CONFIG_TARGET_BF506F_EZKIT=y
 # CONFIG_CMD_BOOTM is not set
+# CONFIG_CMD_EXPORTENV is not set
index 896d4e5a70dad767e575646da747f5365fd9c18e..5761d7c3fdfebb588c5e8fc971bd641e735647c9 100644 (file)
@@ -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
 
index fdd10c3a9805727e2fcb1348e3486f4597e3b793..f9936a7b9493adf5ed11778d274f825983e7d536 100644 (file)
@@ -85,7 +85,6 @@
  */
 #define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE 0x400
-#undef CONFIG_CMD_EXPORTENV
 #undef CONFIG_CMD_IMPORTENV