Lothar Waßmann 53207bfd70 board_f: fix calculation of reloc_off
relocate_code() calculates the relocation offset wrt. the symbol
__image_copy_start which happens to have the same value as
CONFIG_TEXT_BASE on most systems.
When creating an i.MX boot image with an integrated IVT it is
convenient to have CONFIG_TEXT_BASE point to the start of the IVT
that is prepended to the actual code. Thus CONFIG_TEXT_BASE will
differ from __image_copy_start, while the calculation
'gd->relocaddr - __image_copy_start' still gives the right relocation
offset.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
2017-06-12 08:38:41 -04:00
..
2017-01-20 15:38:01 -05:00
2017-06-09 11:23:59 -04:00
2017-06-12 08:37:55 -04:00
2017-05-12 08:37:09 -04:00
2017-04-12 13:28:27 -04:00
2016-04-18 12:29:14 -04:00
2017-06-05 14:13:08 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2017-06-12 08:37:55 -04:00
2017-06-05 14:13:08 -04:00
2017-05-09 12:14:16 -06:00
2016-09-23 17:53:48 -04:00