m68knommu: create optimal separate instruction and data cache for ColdFire
authorGreg Ungerer <gerg@uclinux.org>
Wed, 10 Nov 2010 05:22:19 +0000 (15:22 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 5 Jan 2011 05:19:20 +0000 (15:19 +1000)
commit07ffee59a756e3d16295fa1e0a4849c7a2273a13
tree07161a81e704f140d1cccd424d9f99df5490908b
parent4a5bae416562a8224707a1ff30e83ddab1474fb3
m68knommu: create optimal separate instruction and data cache for ColdFire

Create separate functions to deal with instruction and data cache flushing.
This way we can optimize them for the vairous cache types and arrangements
used across the ColdFire family.

For example the unified caches in the version 3 cores means we don't
need to flush the instruction cache. For the version 2 cores that do
not do data cacheing (or where we choose instruction cache only) we
don't need to do any data flushing.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/cacheflush_no.h
arch/m68k/include/asm/m52xxacr.h
arch/m68k/include/asm/m53xxacr.h
arch/m68k/include/asm/m54xxacr.h