diff options
| author | Simon Glass <[email protected]> | 2012-02-26 17:38:50 -0500 |
|---|---|---|
| committer | Mike Frysinger <[email protected]> | 2012-03-12 11:06:00 -0400 |
| commit | ab4e07eb71ca1913e5291316565c9d073987de85 (patch) | |
| tree | 5bde9398bbdc0205f03135d48b9de5c62261c322 /arch/sandbox/include | |
| parent | 6fb62078210b78ff5cc87829a62166feebb8e9dc (diff) | |
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 <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Diffstat (limited to 'arch/sandbox/include')
| -rw-r--r-- | arch/sandbox/include/asm/u-boot-sandbox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/u-boot-sandbox.h b/arch/sandbox/include/asm/u-boot-sandbox.h index 236b4ee287b..99e950b8057 100644 --- a/arch/sandbox/include/asm/u-boot-sandbox.h +++ b/arch/sandbox/include/asm/u-boot-sandbox.h @@ -35,4 +35,7 @@ int board_init(void); int dram_init(void); +/* start.c */ +int sandbox_main_loop_init(void); + #endif /* _U_BOOT_SANDBOX_H_ */ |
