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>
master
Masahiro Yamada 10 years ago committed by Tom Rini
parent ca05ee9d43
commit cccee18918
  1. 6
      common/Kconfig
  2. 1
      configs/bf506f-ezkit_defconfig
  3. 1
      include/config_cmd_defaults.h
  4. 1
      include/configs/bf506f-ezkit.h

@ -13,4 +13,10 @@ config CMD_CRC32
help
Compute CRC32.
config CMD_EXPORTENV
bool "Enable env export command"
default y
help
Export environments.
endmenu

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

@ -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

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

Loading…
Cancel
Save