Commit 045e6f0d authored by Simon Glass's avatar Simon Glass Committed by Tom Rini

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 2b6793de
......@@ -72,4 +72,5 @@ void main_loop(void)
autoboot_command(s);
cli_loop();
panic("No CLI available");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment