]> git.sur5r.net Git - u-boot/blobdiff - common/board_f.c
spl: Add dependency on serial to Ymodem
[u-boot] / common / board_f.c
index c6bc53e1bf058c783214b08e01d3724bfc06cf87..ae8bdb7c5c0c577df2d1999603bc5224f8318a97 100644 (file)
@@ -18,7 +18,6 @@
 #include <fs.h>
 #include <i2c.h>
 #include <initcall.h>
-#include <init_helpers.h>
 #include <malloc.h>
 #include <mapmem.h>
 #include <os.h>
@@ -489,7 +488,7 @@ static int reserve_bootstage(void)
        return 0;
 }
 
-int arch_reserve_stacks(void)
+__weak int arch_reserve_stacks(void)
 {
        return 0;
 }
@@ -901,7 +900,8 @@ void board_init_f(ulong boot_flags)
                hang();
 
 #if !defined(CONFIG_ARM) && !defined(CONFIG_SANDBOX) && \
-               !defined(CONFIG_EFI_APP) && !CONFIG_IS_ENABLED(X86_64)
+               !defined(CONFIG_EFI_APP) && !CONFIG_IS_ENABLED(X86_64) && \
+               !defined(CONFIG_ARC)
        /* NOTREACHED - jump_to_copy() does not return */
        hang();
 #endif