]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
kconfig: move CONFIG_CMD_IMPORTENV to Kconfig
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 16 Sep 2014 07:33:04 +0000 (16:33 +0900)
committerTom Rini <trini@ti.com>
Wed, 24 Sep 2014 22:30:29 +0000 (18:30 -0400)
Since CONFIG_CMD_IMPORTENV 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
include/configs/h2200.h

index 7875e5e2e20c0ed8592450afb79b781f8fbaad90..216a8debd9afb7021622d70453511ea9f35c9fc2 100644 (file)
@@ -19,6 +19,12 @@ config CMD_EXPORTENV
        help
          Export environments.
 
+config CMD_IMPORTENV
+       bool "Enable env import command"
+       default y
+       help
+         Import environments.
+
 config CMD_GO
        bool "Enable go command"
        default y
index 09c9899ca32802d38a504880e0ca11c225c5de81..f164e06b54dd6abba955eef9c0c148894ab84da2 100644 (file)
@@ -2,3 +2,4 @@ CONFIG_BLACKFIN=y
 CONFIG_TARGET_BF506F_EZKIT=y
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_EXPORTENV is not set
+# CONFIG_CMD_IMPORTENV is not set
index 0ef63eee1472028237a30a10242d1b03791d67d5..d1b3af5dc955bc05ac6e029c6cc3e2d7a25ba14c 100644 (file)
@@ -9,6 +9,5 @@
 #ifndef _CONFIG_CMD_DEFAULTS_H_
 #define _CONFIG_CMD_DEFAULTS_H_
 
-#define CONFIG_CMD_IMPORTENV 1
 
 #endif
index f9936a7b9493adf5ed11778d274f825983e7d536..0b66cdbc01b848e2d4210acf9b138fdcc48e17be 100644 (file)
@@ -85,7 +85,6 @@
  */
 #define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE 0x400
-#undef CONFIG_CMD_IMPORTENV
 
 
 /*
index 9470ad6abcfd98606db71bd66c6a775b7559be8b..109cee985bced836356446b63d758723569ced33 100644 (file)
 #define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 38400, 115200 }
 
-#define CONFIG_CMD_IMPORTENV           1
 #define CONFIG_CMD_LOADB
 #define CONFIG_CMD_SOURCE
 #define CONFIG_CMD_RUN