mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR
This commit is contained in:
parent
e862ed1c22
commit
0d9ccc55ed
@ -814,6 +814,7 @@ relocate_code:
|
|||||||
|
|
||||||
mr r1, r3 /* Set new stack pointer */
|
mr r1, r3 /* Set new stack pointer */
|
||||||
mr r9, r4 /* Save copy of Global Data pointer */
|
mr r9, r4 /* Save copy of Global Data pointer */
|
||||||
|
mr r29, r9 /* Save for DECLARE_GLOBAL_DATA_PTR */
|
||||||
mr r10, r5 /* Save copy of Destination Address */
|
mr r10, r5 /* Save copy of Destination Address */
|
||||||
|
|
||||||
mr r3, r5 /* Destination Address */
|
mr r3, r5 /* Destination Address */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user