summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx/plprcr_write.S
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-02-06 21:48:22 +0000
committerwdenk <wdenk>2004-02-06 21:48:22 +0000
commita6cccaea5a4743f4e4fb93a3ae9537e7357c783b (patch)
tree7e4ef47208c164f62c6384e8f76afc073cc14145 /cpu/mpc8xx/plprcr_write.S
parent5e4be00fb037feb6476125d044b98e0e22b70d31 (diff)
downloadu-boot-imx-a6cccaea5a4743f4e4fb93a3ae9537e7357c783b.zip
u-boot-imx-a6cccaea5a4743f4e4fb93a3ae9537e7357c783b.tar.gz
u-boot-imx-a6cccaea5a4743f4e4fb93a3ae9537e7357c783b.tar.bz2
* Patch by Wolter Kamphuis, 15 Dec 2003:
made CONFIG_SILENT_CONSOLE usable on all architectures * Disable date command on TQM866M - there is no RTC on MPC866
Diffstat (limited to 'cpu/mpc8xx/plprcr_write.S')
-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