summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-21 10:14:05 +0900
committerSonic Zhang <sonic.zhang@analog.com>2013-11-04 16:50:45 +0800
commit84682854b61008ffa0757fb33551320e94d49881 (patch)
treee9c496d8d13daa0f8f0873beeb06ff0c085962c3
parent509dca7a11aad394d781a9d31a7bfa6692562741 (diff)
downloadu-boot-imx-84682854b61008ffa0757fb33551320e94d49881.zip
u-boot-imx-84682854b61008ffa0757fb33551320e94d49881.tar.gz
u-boot-imx-84682854b61008ffa0757fb33551320e94d49881.tar.bz2
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 <yamada.m@jp.panasonic.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
-rw-r--r--arch/blackfin/cpu/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/cpu/cpu.c b/arch/blackfin/cpu/cpu.c
index 218f57e..2409c30 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)