summaryrefslogtreecommitdiff
path: root/src/cpu/ppc/ppc7xx/ppc7xx.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/ppc/ppc7xx/ppc7xx.inc')
-rw-r--r--src/cpu/ppc/ppc7xx/ppc7xx.inc35
1 files changed, 4 insertions, 31 deletions
diff --git a/src/cpu/ppc/ppc7xx/ppc7xx.inc b/src/cpu/ppc/ppc7xx/ppc7xx.inc
index 3391b28a44..c82ab2f370 100644
--- a/src/cpu/ppc/ppc7xx/ppc7xx.inc
+++ b/src/cpu/ppc/ppc7xx/ppc7xx.inc
@@ -56,37 +56,10 @@
/*
* Clear segment registers (LinuxBIOS doesn't use these)
*/
- mtsr 0, r0
- isync
- mtsr 1, r0
- isync
- mtsr 2, r0
- isync
- mtsr 3, r0
- isync
- mtsr 4, r0
- isync
- mtsr 5, r0
- isync
- mtsr 6, r0
- isync
- mtsr 7, r0
- isync
- mtsr 8, r0
- isync
- mtsr 9, r0
- isync
- mtsr 10, r0
- isync
- mtsr 11, r0
- isync
- mtsr 12, r0
- isync
- mtsr 13, r0
- isync
- mtsr 14, r0
- isync
- mtsr 15, r0
+ li r3, 15
+1: mtsrin r3, r0
+ subic. r3, r3, 1
+ bge 1b
isync
/*