summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/start.S
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-05 23:55:19 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-05 23:55:19 +0200
commitd56019c0eed08632c2b1f828ca9e0b22d6151414 (patch)
tree8b0b6e6a0030b0946f8ccf543e025683c44cd36f /cpu/ppc4xx/start.S
parentb4f15fdaf77b7339e2984703c83269c7cdf680a9 (diff)
parent17f50f22bc3f2d17258523f2ef3074e6ce1f7ffa (diff)
Merge with /home/sr/git/u-boot
Diffstat (limited to 'cpu/ppc4xx/start.S')
-rw-r--r--cpu/ppc4xx/start.S8
1 files changed, 5 insertions, 3 deletions
diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S
index 3a8ff2b02b..788c71cc2e 100644
--- a/cpu/ppc4xx/start.S
+++ b/cpu/ppc4xx/start.S
@@ -379,11 +379,13 @@ __440gx_msr_continue:
li r0,0
#if defined(CONFIG_440_EP) || defined(CONFIG_440_GR)
/* Clear Dcache to use as RAM */
- lis r3,CFG_INIT_RAM_ADDR@h
- li r4,CFG_INIT_RAM_END@l
+ addis r3,r0,CFG_INIT_RAM_ADDR@h
+ ori r3,r3,CFG_INIT_RAM_ADDR@l
+ addis r4,r0,CFG_INIT_RAM_END@h
+ ori r4,r4,CFG_INIT_RAM_END@l
rlwinm. r5,r4,0,27,31
rlwinm r5,r4,27,5,31
- beq ..d_ran
+ beq ..d_ran
addi r5,r5,0x0001
..d_ran:
mtctr r5