Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30156
b: refs/heads/master
c: df8fbe1
h: refs/heads/master
v: v3
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Jun 26, 2006
1 parent c80d640 commit 351f4da
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76aa698f331475147825ae135eae98bfd457825b
refs/heads/master: df8fbe1e7f250b157c5815a005a9650548315d1f
15 changes: 15 additions & 0 deletions trunk/include/asm-m68knommu/mcfcache.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,21 @@
.endm
#endif /* CONFIG_M5249 || CONFIG_M5307 */

#if defined(CONFIG_M532x)
.macro CACHE_ENABLE
movel #0x01000000,%d0 /* invalidate cache cmd */
movec %d0,%CACR /* do invalidate cache */
nop
movel #0x4001C000,%d0 /* set SDRAM cached (write-thru) */
movec %d0,%ACR0
movel #0x00000000,%d0 /* no other regions cached */
movec %d0,%ACR1
movel #0x80000200,%d0 /* setup cache mask */
movec %d0,%CACR /* enable cache */
nop
.endm
#endif /* CONFIG_M532x */

#if defined(CONFIG_M5407)
/*
* Version 4 cores have a true harvard style separate instruction
Expand Down

0 comments on commit 351f4da

Please sign in to comment.