From: Simon Glass Date: Mon, 14 Mar 2016 01:07:32 +0000 (-0600) Subject: Panic when no command line processing can be performed X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=045e6f0d4f49c83375cd30b35fb7f02d7a79478e;p=u-boot.git 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 Reviewed-by: Tom Rini --- diff --git a/common/main.c b/common/main.c index 1a2ef39cca..42bbb50733 100644 --- 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"); }