Révision | bf59956b77873634bbbe738cdfba133498120755 (tree) |
---|---|
l'heure | 2016-04-17 19:24:46 |
Auteur | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
board_f: return in GD_FLG_SKIP_RELOC is set.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
@@ -1062,7 +1062,8 @@ void board_init_f(ulong boot_flags) | ||
1062 | 1062 | #if !defined(CONFIG_ARM) && !defined(CONFIG_SANDBOX) && \ |
1063 | 1063 | !defined(CONFIG_EFI_APP) |
1064 | 1064 | /* NOTREACHED - jump_to_copy() does not return */ |
1065 | - hang(); | |
1065 | + if ((gd->flags & GD_FLG_SKIP_RELOC) == 0) | |
1066 | + hang(); | |
1066 | 1067 | #endif |
1067 | 1068 | } |
1068 | 1069 |