1
0
Fork 0

Panic when no command line processing can be performed

Normally board_run_command() will handle command processed. But if for some
reason it returns then we should panic to avoid further processing.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
utp
Simon Glass 2016-03-13 19:07:32 -06:00 committed by Tom Rini
parent 2b6793de25
commit 045e6f0d4f
1 changed files with 1 additions and 0 deletions

View File

@ -72,4 +72,5 @@ void main_loop(void)
autoboot_command(s);
cli_loop();
panic("No CLI available");
}