diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2015-02-25 23:23:51 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-25 12:15:18 -0400 |
commit | 293eac363d7866948d6a99b13d4c53c5ccc00132 (patch) | |
tree | 30b6ae2350086e70738717a1e432ced6357b274c | |
parent | 0798d6fd4191f5ea2e53496d57db482529364d2d (diff) | |
download | u-boot-imx-293eac363d7866948d6a99b13d4c53c5ccc00132.zip u-boot-imx-293eac363d7866948d6a99b13d4c53c5ccc00132.tar.gz u-boot-imx-293eac363d7866948d6a99b13d4c53c5ccc00132.tar.bz2 |
config_cmd_default.h: Add 'env exists' command
env exists allows scripts to query whether an environment variable
exists. Enable by default as it adds only a trivial amount of code and
can be useful in scripts.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | include/config_cmd_default.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h index 73c9544..e79a13b 100644 --- a/include/config_cmd_default.h +++ b/include/config_cmd_default.h @@ -21,6 +21,7 @@ #define CONFIG_CMD_CONSOLE /* coninfo */ #define CONFIG_CMD_ECHO /* echo arguments */ #define CONFIG_CMD_EDITENV /* editenv */ +#define CONFIG_CMD_ENV_EXISTS /* query whether env variables exists */ #define CONFIG_CMD_FPGA /* FPGA configuration Support */ #define CONFIG_CMD_IMI /* iminfo */ #define CONFIG_CMD_ITEST /* Integer (and string) test */ |