diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-21 01:14:05 (GMT) |
---|---|---|
committer | Sonic Zhang <sonic.zhang@analog.com> | 2013-11-04 08:50:45 (GMT) |
commit | 84682854b61008ffa0757fb33551320e94d49881 (patch) | |
tree | e9c496d8d13daa0f8f0873beeb06ff0c085962c3 | |
parent | 509dca7a11aad394d781a9d31a7bfa6692562741 (diff) | |
download | u-boot-84682854b61008ffa0757fb33551320e94d49881.tar.xz |
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.c | 3 |
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) |