[U-Boot] Normal command line behavior?

Scott Wood scottwood at freescale.com
Tue Aug 4 21:48:40 CEST 2009


On Tue, Aug 04, 2009 at 12:07:17PM -0400, J.C. Wren wrote:
> All fair points.
> 
> It appears that the 'nand' commands don't use the new parser structure.

Do you mean U_BOOT_CMD_MKENT, find_cmd_tbl, etc?

>  The 'nand' and 'nboot' commands use the U_BOOT_CMD macro, and have
> repeatable defined as 1.  The 'nand' command is doing it's own
> sub-command parsing (via strcnmp()'s), and as a result, all 'nand'
> commands are repeatable.  That probably isn't a good idea, and I would
> request the the 'nand' command itself be made non-repeatable.

The one nand command that probably should be repeatable is "nand dump",
with auto-increment similar to "md".

-Scott


More information about the U-Boot mailing list