commit | 045e6f0d4f49c83375cd30b35fb7f02d7a79478e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Mar 13 19:07:32 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 22 12:16:10 2016 -0400 |
tree | b0dcb7f2ecbf6c19728c804d04042f308ed38992 | |
parent | 2b6793de2543e16ac6b8e792cef71ce7bb6ea1a7 [diff] [blame] |
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>
diff --git a/common/main.c b/common/main.c index 1a2ef39..42bbb50 100644 --- a/common/main.c +++ b/common/main.c
@@ -72,4 +72,5 @@ autoboot_command(s); cli_loop(); + panic("No CLI available"); }