projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b6793d
)
Panic when no command line processing can be performed
author
Simon Glass
<sjg@chromium.org>
Mon, 14 Mar 2016 01:07:32 +0000
(19:07 -0600)
committer
Tom Rini
<trini@konsulko.com>
Tue, 22 Mar 2016 16:16:10 +0000
(12:16 -0400)
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>
common/main.c
patch
|
blob
|
history
diff --git
a/common/main.c
b/common/main.c
index 1a2ef39cca9c1b9ec83c15f3a25e805fd11c673c..42bbb507332c8de234723d02024f787da4501f59 100644
(file)
--- a/
common/main.c
+++ b/
common/main.c
@@
-72,4
+72,5
@@
void main_loop(void)
autoboot_command(s);
cli_loop();
+ panic("No CLI available");
}