]> git.sur5r.net Git - u-boot/commitdiff
blackfin: fix a warning in arch/blackfin/cpu/cpu.c
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 21 Oct 2013 01:14:05 +0000 (10:14 +0900)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 4 Nov 2013 08:50:45 +0000 (16:50 +0800)
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>
arch/blackfin/cpu/cpu.c

index 218f57ed389f26c3fb165684ed156adacd0db59d..2409c300ed1441e6660fbd8475ae3e5ee01023f4 100644 (file)
@@ -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)