[U-Boot] setexpr and memory access

Wolfgang Denk wd at denx.de
Thu Feb 25 00:03:45 CET 2010


Dear Frans,

In message <ac9c93b11002240514w75d010ao8b3a52ca8ef015af at mail.gmail.com> you wrote:
> 
> setexpr uses A op B and one of the possibilities for op is a *. If we
> also allow a * to dereference things (like done in itest) we could get
> something like
> setexpr result *3 * *4
> Not sure if that is a desirable syntax.

Agreed it looks ugly, but it's the logical consequence of what we are
using so far. Any other solution would probably require changes in
some other areas.

Considering that, your suggestion looks fine to me.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Don't tell me how hard you work.  Tell me how much you get done.
- James J. Ling


More information about the U-Boot mailing list