MN10300: Make the boot wrapper able to use writeback caching
[deliverable/linux.git] / arch / mn10300 / Kconfig
index 7c2a2f7f8dc143889b74605d2741f5707ad330e4..21e2a534d98ef9f0b283be2f193e68c2609e0b04 100644 (file)
@@ -9,8 +9,16 @@ config MN10300
        def_bool y
        select HAVE_OPROFILE
 
-config AM33
-       def_bool y
+config AM33_2
+       def_bool n
+
+config AM33_3
+       def_bool n
+
+config AM34_2
+       def_bool n
+       select MN10300_HAS_ATOMIC_OPS_UNIT
+       select MN10300_HAS_CACHE_SNOOP
 
 config MMU
        def_bool y
@@ -99,6 +107,7 @@ choice
 config MN10300_PROC_MN103E010
        bool "MN103E010"
        depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
+       select AM33_2
        select MN10300_PROC_HAS_TTYSM0
        select MN10300_PROC_HAS_TTYSM1
        select MN10300_PROC_HAS_TTYSM2
@@ -117,39 +126,18 @@ config MN10300_CPU_AM33V2
 
 endchoice
 
+config MN10300_HAS_ATOMIC_OPS_UNIT
+       def_bool n
+       help
+         This should be enabled if the processor has an atomic ops unit
+         capable of doing LL/SC equivalent operations.
+
 config FPU
        bool "FPU present"
        default y
        depends on MN10300_PROC_MN103E010
 
-choice
-       prompt "CPU Caching mode"
-       default MN10300_CACHE_WBACK
-       help
-         This option determines the caching mode for the kernel.
-
-         Write-Back caching mode involves the all reads and writes causing
-         the affected cacheline to be read into the cache first before being
-         operated upon. Memory is not then updated by a write until the cache
-         is filled and a cacheline needs to be displaced from the cache to
-         make room. Only at that point is it written back.
-
-         Write-Through caching only fetches cachelines from memory on a
-         read. Writes always get written directly to memory. If the affected
-         cacheline is also in cache, it will be updated too.
-
-         The final option is to turn of caching entirely.
-
-config MN10300_CACHE_WBACK
-       bool "Write-Back"
-
-config MN10300_CACHE_WTHRU
-       bool "Write-Through"
-
-config MN10300_CACHE_DISABLED
-       bool "Disabled"
-
-endchoice
+source "arch/mn10300/mm/Kconfig.cache"
 
 menu "Memory layout options"
 
This page took 0.026889 seconds and 5 git commands to generate.