[U-Boot-Users] CFG_CMD_.... configuration space running out!!

Wolfgang Denk wd at denx.de
Fri Dec 19 21:46:46 CET 2003


In message <1071713256.2552.10.camel at smoke.cideas.com> you wrote:
> 
> 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

Please don't.

> <addr>.l  4 byte addr
> <addr>.w  2 byte addr
> <addr>.b  1 byte addr

Use this, if you must have something like it.

> test *40000.4 -eq 12345678
> test *40000   -eq 12345678
> test *40000.2 -eq 1234
> test *40000.1 -eq 12

No.

First: don't call this command "test" if it does not what  the  shell
command "test" does - we might have a hush "test" command soon.

Second, if you really want to do this, make the ".X" suffix  on  thew
COMMAND name, but never on the arguments.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Always try to do things in chronological order; it's  less  confusing
that way.




More information about the U-Boot mailing list