[U-Boot] [PATCH 1/9] board_f: Add relocate_code stub

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


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

diff --git a/common/board_f.c b/common/board_f.c
index 109025a..bf768d1 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -826,6 +826,11 @@ __weak int arch_cpu_init_dm(void)
 	return 0;
 }
 
+__weak void relocate_code(ulong sp, gd_t *new_gd, ulong reloc)
+{
+	for(;;);
+}
+
 static init_fnc_t init_sequence_f[] = {
 #ifdef CONFIG_SANDBOX
 	setup_ram_buf,
-- 
2.7.0



More information about the U-Boot mailing list