summaryrefslogtreecommitdiff
path: root/include/config_cmd_all.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-02-14 20:44:42 -0600
committerWolfgang Denk <wd@denx.de>2008-03-25 22:16:15 +0100
commitd058698fd2d9f769ff38ac53c8708b3fdd314f2d (patch)
tree9a41de69112983ebd505483a564df6e74dd69e57 /include/config_cmd_all.h
parent0d48926c87ec96f974a6ac4034f4a2f2eab3255f (diff)
downloadu-boot-imx-d058698fd2d9f769ff38ac53c8708b3fdd314f2d.zip
u-boot-imx-d058698fd2d9f769ff38ac53c8708b3fdd314f2d.tar.gz
u-boot-imx-d058698fd2d9f769ff38ac53c8708b3fdd314f2d.tar.bz2
Add setexpr command
Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: &, |, ^, +, -, *, /. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/config_cmd_all.h')
-rw-r--r--include/config_cmd_all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index f3965ef..69276a3 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -70,6 +70,7 @@
#define CONFIG_CMD_SAVES /* save S record dump */
#define CONFIG_CMD_SCSI /* SCSI Support */
#define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */
+#define CONFIG_CMD_SETEXPR /* setexpr support */
#define CONFIG_CMD_SETGETDCR /* DCR support on 4xx */
#define CONFIG_CMD_SNTP /* SNTP support */
#define CONFIG_CMD_SPI /* SPI utility */