[U-Boot] [PATCH v2 6/8] sandbox: Allow processing instead of or before main loop

Mike Frysinger vapier at gentoo.org
Fri Jan 20 20:00:36 CET 2012


On Tuesday 10 January 2012 19:45:50 Simon Glass wrote:
> In order to pass command line arguments to sandbox we need to be able
> to act on them. So take control back at the end of board_init_r() from
> where we can call the main loop or do something else.

does this need to be done this early ?  parsing args can easily be done inside 
main() (as i showed in my patch that added command line support).

in terms of processing the state, i think we can just make this into an init 
func that runs before we let board_init_r tail into main_loop
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120120/850bed92/attachment.pgp>


More information about the U-Boot mailing list