mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
mpc85xx: relocate code in non-SPL build
When building a non-SPL image, relocation is needed. This patch restores the old behaviour before commitb35316fb67
("Convert CONFIG_SPL_INIT_MINIMAL et al to Kconfig") was only defined if CONFIG_SPL_BUILD was defined. Fixes:b35316fb67
("Convert CONFIG_SPL_INIT_MINIMAL et al to Kconfig") Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
This commit is contained in:
parent
9727e3ab7a
commit
e9bf0ce6c1
1 changed files with 1 additions and 1 deletions
|
@ -1617,7 +1617,7 @@ relocate_code:
|
|||
mr r10,r5 /* Save copy of Destination Address */
|
||||
|
||||
GET_GOT
|
||||
#ifndef CONFIG_SPL_SKIP_RELOCATE
|
||||
#if !defined(CONFIG_SPL_SKIP_RELOCATE) || !defined(CONFIG_SPL_BUILD)
|
||||
mr r3,r5 /* Destination Address */
|
||||
lis r4,CONFIG_VAL(SYS_MONITOR_BASE)@h /* Source Address */
|
||||
ori r4,r4,CONFIG_VAL(SYS_MONITOR_BASE)@l
|
||||
|
|
Loading…
Reference in a new issue