diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-10-25 15:12:56 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-10-27 20:58:25 +0100 |
commit | 246c69225c7b962d5c93e92282b78ca9fc5fefee (patch) | |
tree | e894adbd050ceed629228469c0066076b9f2d79a /include | |
parent | b0fa8e50632a628766db23f5c884ec63f1469552 (diff) | |
download | u-boot-imx-246c69225c7b962d5c93e92282b78ca9fc5fefee.zip u-boot-imx-246c69225c7b962d5c93e92282b78ca9fc5fefee.tar.gz u-boot-imx-246c69225c7b962d5c93e92282b78ca9fc5fefee.tar.bz2 |
Add 'editenv' command
The editenv command can be used to edit an environment variable.
Editing an environment variable is useful when one wants to tweak an
existing variable, for example fix a typo or change the baudrate in the
'bootargs' environment variable.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/config_cmd_all.h | 1 | ||||
-rw-r--r-- | include/config_cmd_default.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h index c747b4b..058fdf1 100644 --- a/include/config_cmd_all.h +++ b/include/config_cmd_all.h @@ -30,6 +30,7 @@ #define CONFIG_CMD_DOC /* Disk-On-Chip Support */ #define CONFIG_CMD_DTT /* Digital Therm and Thermostat */ #define CONFIG_CMD_ECHO /* echo arguments */ +#define CONFIG_CMD_EDITENV /* editenv */ #define CONFIG_CMD_EEPROM /* EEPROM read/write support */ #define CONFIG_CMD_ELF /* ELF (VxWorks) load/boot cmd */ #define CONFIG_CMD_SAVEENV /* saveenv */ diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h index a5d87a6..6e3903c 100644 --- a/include/config_cmd_default.h +++ b/include/config_cmd_default.h @@ -20,6 +20,7 @@ #define CONFIG_CMD_BOOTD /* bootd */ #define CONFIG_CMD_CONSOLE /* coninfo */ #define CONFIG_CMD_ECHO /* echo arguments */ +#define CONFIG_CMD_EDITENV /* editenv */ #define CONFIG_CMD_FPGA /* FPGA configuration Support */ #define CONFIG_CMD_IMI /* iminfo */ #define CONFIG_CMD_ITEST /* Integer (and string) test */ |