From: Sjoerd Simons Date: Wed, 25 Feb 2015 22:23:51 +0000 (+0100) Subject: config_cmd_default.h: Add 'env exists' command X-Git-Tag: v2015.04-rc5~55 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=293eac363d7866948d6a99b13d4c53c5ccc00132;p=u-boot 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 Reviewed-by: Hans de Goede Reviewed-by: Stephen Warren --- diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h index 73c9544ea0..e79a13be8b 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 */