From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoshinori Sato Date: Thu, 19 May 2016 21:26:49 +0900 Subject: [U-Boot] [PATCH 3/9] board_f: if SKIP_RELOC is ture, return from board_init_f In-Reply-To: <1463660815-26050-1-git-send-email-ysato@users.sourceforge.jp> References: <1463660815-26050-1-git-send-email-ysato@users.sourceforge.jp> Message-ID: <1463660815-26050-4-git-send-email-ysato@users.sourceforge.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Yoshinori Sato --- 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