[U-Boot] [PATCH 3/9] board_f: if SKIP_RELOC is ture, return from board_init_f

Yoshinori Sato ysato at users.sourceforge.jp
Thu May 19 14:26:49 CEST 2016


Signed-off-by: Yoshinori Sato <ysato at users.sourceforge.jp>
---
 common/board_f.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/board_f.c b/common/board_f.c
index fcc69b8..e1122e3 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -1067,7 +1067,8 @@ void board_init_f(ulong boot_flags)
 #if !defined(CONFIG_ARM) && !defined(CONFIG_SANDBOX) && \
 		!defined(CONFIG_EFI_APP)
 	/* NOTREACHED - jump_to_copy() does not return */
-	hang();
+        if (!(gd->flags & GD_FLG_SKIP_RELOC))
+		hang();
 #endif
 }
 
-- 
2.7.0



More information about the U-Boot mailing list