projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e862ed1
)
Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR
author
Haiying Wang
<haiying.wang@freescale.com>
Tue, 15 Aug 2006 19:13:15 +0000
(15:13 -0400)
committer
Jon Loeliger
<jdl@freescale.com>
Thu, 17 Aug 2006 16:00:14 +0000
(11:00 -0500)
cpu/mpc86xx/start.S
patch
|
blob
|
history
diff --git
a/cpu/mpc86xx/start.S
b/cpu/mpc86xx/start.S
index 12bf75b2e1a8a086970eb2965d7f4285f8fcd8fe..25687f8bb7538f2df04b45d4de4ab4d473c16b37 100644
(file)
--- a/
cpu/mpc86xx/start.S
+++ b/
cpu/mpc86xx/start.S
@@
-814,8
+814,9
@@
relocate_code:
mr r1, r3 /* Set new stack 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 r3, r5 /* Destination Address */
lis r4, CFG_MONITOR_BASE@h /* Source Address */
ori r4, r4, CFG_MONITOR_BASE@l