summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc8xx/plprcr_write.S12
1 files changed, 1 insertions, 11 deletions
diff --git a/cpu/mpc8xx/plprcr_write.S b/cpu/mpc8xx/plprcr_write.S
index 7d39a0e..e325671 100644
--- a/cpu/mpc8xx/plprcr_write.S
+++ b/cpu/mpc8xx/plprcr_write.S
@@ -122,23 +122,13 @@ plprcr_wait:
plprcr_wait_end:
- /* turn instruction cache off
+ /* unlock instruction cache but leave it enabled
*/
lis r4, CACHE_CMD_UNLOCK_ALL@h
ori r4, r4, CACHE_CMD_UNLOCK_ALL@l
mtspr IC_CST, r4
isync
- lis r4, CACHE_CMD_INVALIDATE@h
- ori r4, r4, CACHE_CMD_INVALIDATE@l
- mtspr IC_CST, r4
- isync
-
- lis r4, CACHE_CMD_DISABLE@h
- ori r4, r4, CACHE_CMD_DISABLE@l
- mtspr IC_CST, r4
- isync
-
mtspr LR, r10 /* restore original Link Register value */
blr