[U-Boot-Users] CFG_CMD_.... configuration space running out!!
Jon Diekema
jon.diekema at smiths-aerospace.com
Thu Dec 18 03:07:36 CET 2003
On Thu, 2003-12-18 at 07:08, Robin Gilks wrote:
> test syntax as per binary integer comparisons with the option of a unary
> indirection operator on either expression.
> eg. 'test *40000 -eq 12345678'
> checks location 40000 for the value 12345678. I've only implemented 32
> bit word indirection - does anyone think it useful to provide half-word
> and byte as well - in which case what should the syntax look like?
How about using something similar to what the i2c commands use?
<addr>.4 4 byte addr
<addr>.2 2 byte addr
<addr>.1 1 byte addr
or maybe
<addr>.l 4 byte addr
<addr>.w 2 byte addr
<addr>.b 1 byte addr
If .<byte-size> isn't specified, then default to the .4 or .l
address size.
Potential examples:
test *40000.4 -eq 12345678
test *40000 -eq 12345678
test *40000.2 -eq 1234
test *40000.1 -eq 12
******************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
******************************************
More information about the U-Boot
mailing list