[U-Boot] [RFC PATCH 3/3] sandbox: WIP: add basic command line parsing

Mike Frysinger vapier at gentoo.org
Thu Oct 27 08:16:51 CEST 2011


On Wed, Oct 26, 2011 at 18:54, Simon Glass wrote:
> This adds simple command-line parssing to sandbox. The idea is that it
> sets up the state with options provided, and this state can then be
> queried as needed later.

i'm not seeing the usefulness of the "state" code

> +               "\t-c <command>\tExecute U-Boot command\n"

i don't think this is necessary.  i simply do:
    ./u-boot <<<$'bdinfo\nreset\n'
-mike


More information about the U-Boot mailing list