mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-26 06:04:07 +01:00
sandbox: Don't include the main loop in SPL
SPL does not have a command interface so we should not include the main loop code. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a7d9caecd7
commit
d0d0746e0c
1 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ static int sandbox_cmdline_cb_help(struct sandbox_state *state, const char *arg)
|
|||
}
|
||||
SANDBOX_CMDLINE_OPT_SHORT(help, 'h', 0, "Display help");
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
int sandbox_main_loop_init(void)
|
||||
{
|
||||
struct sandbox_state *state = state_get_current();
|
||||
|
|
@ -97,6 +98,7 @@ int sandbox_main_loop_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int sandbox_cmdline_cb_boot(struct sandbox_state *state,
|
||||
const char *arg)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue