From ab4e07eb71ca1913e5291316565c9d073987de85 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 26 Feb 2012 17:38:50 -0500 Subject: 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 Signed-off-by: Mike Frysinger --- arch/sandbox/cpu/start.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/sandbox/cpu/start.c') diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 2b66eed..4a84486 100644 --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c @@ -22,6 +22,11 @@ #include #include +int sandbox_main_loop_init(void) +{ + return 0; +} + int main(int argc, char *argv[]) { int err; -- cgit v1.1