diff options
| author | Lothar Waßmann <[email protected]> | 2017-06-08 10:18:25 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-06-12 08:38:41 -0400 |
| commit | 53207bfd704250354c56aa74c7e96151fddee1f1 (patch) | |
| tree | ebe5a2d0779d30abe485a9efd16999df6adf60a2 /configs/O2MNT_O2M113_defconfig | |
| parent | 69c5d76f2fd8bf645cde9f0a8225daba25d65e01 (diff) | |
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 <[email protected]>
Diffstat (limited to 'configs/O2MNT_O2M113_defconfig')
0 files changed, 0 insertions, 0 deletions
