Skip to content
Snippets Groups Projects
Commit f82b3b63 authored by Grant Likely's avatar Grant Likely Committed by Wolfgang Denk
Browse files

Don't set gd->reloc_off if relocation of .fixup works correctly

parent e1a6144c
No related branches found
No related tags found
No related merge requests found
......@@ -620,7 +620,12 @@ void board_init_r (gd_t *id, ulong dest_addr)
bd = gd->bd;
gd->flags |= GD_FLG_RELOC; /* tell others: relocation done */
#if defined(CONFIG_RELOC_FIXUP_WORKS)
gd->reloc_off = 0;
#else
gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
#endif
#ifdef CONFIG_SERIAL_MULTI
serial_initialize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment