diff options
author | Haiying Wang <haiying.wang@freescale.com> | 2006-08-15 15:13:15 -0400 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-08-17 11:01:55 -0500 |
commit | 67256678f00c09b0a7f19e862e5c1847553d31bc (patch) | |
tree | 3976d47383ff54538268f8f4bb6e7a34082aa7c0 /cpu | |
parent | fecf1c7e4de1b2779edc18742b91c22bdc32b68b (diff) | |
download | u-boot-imx-67256678f00c09b0a7f19e862e5c1847553d31bc.zip u-boot-imx-67256678f00c09b0a7f19e862e5c1847553d31bc.tar.gz u-boot-imx-67256678f00c09b0a7f19e862e5c1847553d31bc.tar.bz2 |
Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc86xx/start.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/mpc86xx/start.S b/cpu/mpc86xx/start.S index 12bf75b..25687f8 100644 --- 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 |