[U-Boot-Users] [PATCH] Use an absolute address when jumping out of 4k boot page
Kumar Gala
galak at kernel.crashing.org
Tue Aug 7 20:22:02 CEST 2007
On e500 when we leave the 4k boot page we should use an absolute address since
we don't know where the board code may want us to be really running at.
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
cpu/mpc85xx/start.S | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/cpu/mpc85xx/start.S b/cpu/mpc85xx/start.S
index 9dfd38d..89bae58 100644
--- a/cpu/mpc85xx/start.S
+++ b/cpu/mpc85xx/start.S
@@ -261,12 +261,11 @@ _start_e500:
#endif
/* Jump out the last 4K page and continue to 'normal' start */
- bl 3f
- b _start_cont
+ lis r1,_start_cont at h
+ ori r1,r1,_start_cont at l
-3: li r0,0
+ li r0,0
mtspr SRR1,r0 /* Keep things disabled for now */
- mflr r1
mtspr SRR0,r1
rfi
isync
--
1.5.2.2
More information about the U-Boot
mailing list