m68knommu: make cache push code ColdFire generic
authorGreg Ungerer <gerg@uclinux.org>
Tue, 9 Nov 2010 04:27:50 +0000 (14:27 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 5 Jan 2011 05:19:19 +0000 (15:19 +1000)
commitd475e3e4739ce465df740b51decbbea3b1b51823
tree537a24e871043cb216fe9db747e94367eca47a71
parent8ce877a8eb8293b5b2c07f259d694026b0f519e4
m68knommu: make cache push code ColdFire generic

Currently the code to push cache lines is only available to version 4
cores. Version 3 cores may also need to use this if we support copy-
back caches on them. Move this code to make it more generic, and
useful for all version ColdFire cores.

With this in place we can now have a single cache_flush_all() code
path that does all the right things on all version cores.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/cacheflush_no.h
arch/m68k/include/asm/m54xxacr.h
arch/m68knommu/platform/coldfire/Makefile
arch/m68knommu/platform/coldfire/cache.c [new file with mode: 0644]