Skip to content
Snippets Groups Projects
Commit 47ab5ad1 authored by Frans Meulenbroeks's avatar Frans Meulenbroeks Committed by Wolfgang Denk
Browse files

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: default avatarFrans Meulenbroeks <fransmeulenbroeks@gmail.com>

Fix warning: control reaches end of non-void function
Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 652e5354
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment