From: Masahiro Yamada Date: Mon, 21 Oct 2013 01:14:05 +0000 (+0900) Subject: blackfin: fix a warning in arch/blackfin/cpu/cpu.c X-Git-Tag: v2014.01-rc1~133^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=84682854b61008ffa0757fb33551320e94d49881;p=u-boot blackfin: fix a warning in arch/blackfin/cpu/cpu.c This commit fixes: cpu.c:107: warning: ‘noreturn’ function does return Signed-off-by: Masahiro Yamada Signed-off-by: Sonic Zhang --- diff --git a/arch/blackfin/cpu/cpu.c b/arch/blackfin/cpu/cpu.c index 218f57ed38..2409c300ed 100644 --- a/arch/blackfin/cpu/cpu.c +++ b/arch/blackfin/cpu/cpu.c @@ -104,6 +104,9 @@ void cpu_init_f(ulong bootflag, ulong loaded_from_ldr) serial_early_puts("Board init flash\n"); board_init_f(bootflag); + + /* should not be reached */ + while (1); } int exception_init(void)