sh: Support explicit L1 cache disabling.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 31 Jul 2007 08:07:28 +0000 (17:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:46 +0000 (11:57 +0900)
commite7bd34a15b85655f24d1b45edbe3bdfebf9d027e
tree051647273266582fe95dcc5cf008534c264be5ae
parentac919986d7dfc5d1d9f5585521307f222a8ebeaf
sh: Support explicit L1 cache disabling.

This reworks the cache mode configuration in Kconfig, and allows for
explicit selection of write-back/write-through/off configurations.
All of the cache flushing routines are optimized away for the off
case.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/init.c
arch/sh/kernel/sh_ksyms.c
arch/sh/mm/Kconfig
arch/sh/mm/Makefile
arch/sh/mm/pmb.c
arch/sh/mm/tlb-sh4.c
include/asm-sh/cacheflush.h
include/asm-sh/page.h
include/asm-sh/pgtable.h