[POWERPC] Check cache coherency of kernel vs firmware
authorDale Farnsworth <dale@farnsworth.org>
Sat, 12 May 2007 00:57:35 +0000 (10:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 12 May 2007 01:32:50 +0000 (11:32 +1000)
check_cache_coherency() verifies that the cache coherency setting of
the kernel (CONFIG_NOT_COHERENT_CACHE) matches that left by the firmware,
as indicated by coherency-off device tree property.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/setup-common.c
arch/powerpc/platforms/embedded6xx/Kconfig

index ccc5410..64089b1 100644 (file)
@@ -389,6 +389,9 @@ config NOT_COHERENT_CACHE
        bool
        depends on 4xx || 8xx || E200
        default y
+
+config CONFIG_CHECK_CACHE_COHERENCY
+       bool
 endmenu
 
 source "init/Kconfig"
Simple merge