sandbox: allow processing before main loop
authorSimon Glass <sjg@chromium.org>
Sun, 26 Feb 2012 22:38:50 +0000 (17:38 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Mar 2012 15:06:00 +0000 (11:06 -0400)
commitab4e07eb71ca1913e5291316565c9d073987de85
tree5bde9398bbdc0205f03135d48b9de5c62261c322
parent6fb62078210b78ff5cc87829a62166feebb8e9dc
sandbox: allow processing before main loop

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.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/u-boot-sandbox.h
arch/sandbox/lib/board.c