summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/ppc/ppc4xx/ppc4xx.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/ppc/ppc4xx/ppc4xx.inc b/src/cpu/ppc/ppc4xx/ppc4xx.inc
index eea497734e..b6c072fdfd 100644
--- a/src/cpu/ppc/ppc4xx/ppc4xx.inc
+++ b/src/cpu/ppc/ppc4xx/ppc4xx.inc
@@ -89,7 +89,7 @@
*/
lis r4,0x8000
- addi r4,r4,0x0001
+ ori r4,r4,0x0001
mticcr r4 /* instruction cache enable */
isync
@@ -102,7 +102,7 @@
*/
lis r4, DCACHE_RAM_BASE@ha
- addi r4, r4, DCACHE_RAM_BASE@l
+ ori r4, r4, DCACHE_RAM_BASE@l
srwi r4, r4, 27
subfic r4, r4, 31
li r0, 1