]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
setexpr: simplify code, improve help message
authorWolfgang Denk <wd@denx.de>
Sat, 23 Mar 2013 23:50:33 +0000 (23:50 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 20:24:01 +0000 (16:24 -0400)
commit103c94b10481cf8479c9d0356e5202bc9200a04f
tree4114a9c68dd848df4ec62f5512f55b4210f7289c
parentbe29df6a1ac286e6c482828db28ca96e187c7e00
setexpr: simplify code, improve help message

Simplify the argument checking for the "setexpr" command.  This is
done mainly to make future extensions easier.

Also improve the help message for the one argument version of the
command - this does not "load an address", but a value, which in
this context may be a plain number or a pointer dereference.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_setexpr.c