]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit959f959b8c652e9a0f1c1537202ddd4c8dabf5f0
tree28a0cda93fb4bdd88a23333261c16d83ed8d96dc
parent77cebdb3c4b6210f87ae9b17be8520575de35fd2
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