diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-02-26 14:00:19 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-03-21 22:44:43 +0100 |
commit | 47ab5ad14575531798431f0d1e8f83ee9bb0a87e (patch) | |
tree | 83edf71dd440464ff9f0f506fab461e14165a497 /common/cmd_dcr.c | |
parent | 652e53546b23c25f80756287eaf607b713afdc87 (diff) | |
download | u-boot-imx-47ab5ad14575531798431f0d1e8f83ee9bb0a87e.zip u-boot-imx-47ab5ad14575531798431f0d1e8f83ee9bb0a87e.tar.gz u-boot-imx-47ab5ad14575531798431f0d1e8f83ee9bb0a87e.tar.bz2 |
cmd_setexpr: allow memory addresses in expressions
This patch add functionality to use memory addresses in expressions.
This increases the power of expressions substantially
It adheres to the standard convemtions: memory addresses can be given
in the format *address (e.g. *1000)
Rationale for this change is that it allows masking off bits from a
byte that is obtained by reading data from e.g. i2c.
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Fix warning: control reaches end of non-void function
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/cmd_dcr.c')
0 files changed, 0 insertions, 0 deletions