Commit 21e1374f authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] fix cache settings for m68knommu 5407 CLEOPATRA target

Correct the wrong cache setup used on the CLEOPATRA 5407 based board.
Specifically it enables precise exception mode and write buffering.

Original patch from Alessendra Rubini.
parent 81c830a4
...@@ -118,8 +118,8 @@ _start: ...@@ -118,8 +118,8 @@ _start:
move.l #(0x00<<ACR_BASE_POS)+(0<<ACR_MASK_POS)+ACR_ENABLE+ACR_ANY+ACR_CM_CP,%d0 move.l #(0x00<<ACR_BASE_POS)+(0<<ACR_MASK_POS)+ACR_ENABLE+ACR_ANY+ACR_CM_CP,%d0
movec %d0,%ACR3 movec %d0,%ACR3
/* Enable cache */ /* Enable cache */
move.l #0x86088400, %d0 move.l #0xa4098400, %d0 /* Write buffer, dflt precise */
movec %d0,%CACR movec %d0,%CACR
nop nop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment