m68knommu: Use symbolic constants for cache operations on M54xx
authorPhilippe De Muyter <phdm@macqel.be>
Wed, 27 Oct 2010 12:57:49 +0000 (14:57 +0200)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 5 Jan 2011 05:19:17 +0000 (15:19 +1000)
commit9c68015b149d45a35114b4a1ed44c21fa66bc430
tree28a0cda93fb4bdd88a23333261c16d83ed8d96dc
parentb3d75b09bf8998fd302ba339eebbc768a110741b
m68knommu: Use symbolic constants for cache operations on M54xx

Now that we have meaningfull symbolic constants for bit definitions
of the cache registers of m5407 and m548x chips, use them to
improve readability, portability and efficiency of the cache operations.

This also fixes __flush_cache_all for m548x chips : implicit
DCACHE_SIZE was exact for m5407, but wrong for m548x.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/cacheflush_no.h
arch/m68k/include/asm/m54xxacr.h
arch/m68k/include/asm/mcfcache.h