kconfig: move CONFIG_CMD_IMPORTENV to Kconfig

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>
This commit is contained in:
Masahiro Yamada 2014-09-16 16:33:04 +09:00 committed by Tom Rini
parent 726ac8e4c5
commit 1d5c20154f
5 changed files with 7 additions and 3 deletions

View File

@ -19,6 +19,12 @@ config CMD_EXPORTENV
help help
Export environments. Export environments.
config CMD_IMPORTENV
bool "Enable env import command"
default y
help
Import environments.
config CMD_GO config CMD_GO
bool "Enable go command" bool "Enable go command"
default y default y

View File

@ -2,3 +2,4 @@ CONFIG_BLACKFIN=y
CONFIG_TARGET_BF506F_EZKIT=y CONFIG_TARGET_BF506F_EZKIT=y
# CONFIG_CMD_BOOTM is not set # CONFIG_CMD_BOOTM is not set
# CONFIG_CMD_EXPORTENV is not set # CONFIG_CMD_EXPORTENV is not set
# CONFIG_CMD_IMPORTENV is not set

View File

@ -9,6 +9,5 @@
#ifndef _CONFIG_CMD_DEFAULTS_H_ #ifndef _CONFIG_CMD_DEFAULTS_H_
#define _CONFIG_CMD_DEFAULTS_H_ #define _CONFIG_CMD_DEFAULTS_H_
#define CONFIG_CMD_IMPORTENV 1
#endif #endif

View File

@ -85,7 +85,6 @@
*/ */
#define CONFIG_ENV_IS_NOWHERE #define CONFIG_ENV_IS_NOWHERE
#define CONFIG_ENV_SIZE 0x400 #define CONFIG_ENV_SIZE 0x400
#undef CONFIG_CMD_IMPORTENV
/* /*

View File

@ -116,7 +116,6 @@
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 38400, 115200 } #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 38400, 115200 }
#define CONFIG_CMD_IMPORTENV 1
#define CONFIG_CMD_LOADB #define CONFIG_CMD_LOADB
#define CONFIG_CMD_SOURCE #define CONFIG_CMD_SOURCE
#define CONFIG_CMD_RUN #define CONFIG_CMD_RUN