summaryrefslogtreecommitdiffstats
path: root/include/config_cmd_default.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-02-25 23:23:51 +0100
committerTom Rini <trini@konsulko.com>2015-03-25 12:15:18 -0400
commit293eac363d7866948d6a99b13d4c53c5ccc00132 (patch)
tree30b6ae2350086e70738717a1e432ced6357b274c /include/config_cmd_default.h
parent0798d6fd4191f5ea2e53496d57db482529364d2d (diff)
downloadtalos-obmc-uboot-293eac363d7866948d6a99b13d4c53c5ccc00132.tar.gz
talos-obmc-uboot-293eac363d7866948d6a99b13d4c53c5ccc00132.zip
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>
Diffstat (limited to 'include/config_cmd_default.h')
-rw-r--r--include/config_cmd_default.h1
1 files changed, 1 insertions, 0 deletions
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 */
OpenPOWER on IntegriCloud