diff options
Diffstat (limited to 'arch/m68knommu/Kconfig')
-rw-r--r-- | arch/m68knommu/Kconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index e6f482d18d05..61c29081b998 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig | |||
@@ -79,6 +79,9 @@ config COLDFIRE_SW_A7 | |||
79 | bool | 79 | bool |
80 | default n | 80 | default n |
81 | 81 | ||
82 | config HAVE_CACHE_SPLIT | ||
83 | bool | ||
84 | |||
82 | source "init/Kconfig" | 85 | source "init/Kconfig" |
83 | 86 | ||
84 | source "kernel/Kconfig.freezer" | 87 | source "kernel/Kconfig.freezer" |
@@ -124,12 +127,14 @@ config M5206e | |||
124 | config M520x | 127 | config M520x |
125 | bool "MCF520x" | 128 | bool "MCF520x" |
126 | select GENERIC_CLOCKEVENTS | 129 | select GENERIC_CLOCKEVENTS |
130 | select HAVE_CACHE_SPLIT | ||
127 | help | 131 | help |
128 | Freescale Coldfire 5207/5208 processor support. | 132 | Freescale Coldfire 5207/5208 processor support. |
129 | 133 | ||
130 | config M523x | 134 | config M523x |
131 | bool "MCF523x" | 135 | bool "MCF523x" |
132 | select GENERIC_CLOCKEVENTS | 136 | select GENERIC_CLOCKEVENTS |
137 | select HAVE_CACHE_SPLIT | ||
133 | help | 138 | help |
134 | Freescale Coldfire 5230/1/2/4/5 processor support | 139 | Freescale Coldfire 5230/1/2/4/5 processor support |
135 | 140 | ||
@@ -141,6 +146,7 @@ config M5249 | |||
141 | 146 | ||
142 | config M5271 | 147 | config M5271 |
143 | bool "MCF5271" | 148 | bool "MCF5271" |
149 | select HAVE_CACHE_SPLIT | ||
144 | help | 150 | help |
145 | Freescale (Motorola) ColdFire 5270/5271 processor support. | 151 | Freescale (Motorola) ColdFire 5270/5271 processor support. |
146 | 152 | ||
@@ -152,12 +158,14 @@ config M5272 | |||
152 | 158 | ||
153 | config M5275 | 159 | config M5275 |
154 | bool "MCF5275" | 160 | bool "MCF5275" |
161 | select HAVE_CACHE_SPLIT | ||
155 | help | 162 | help |
156 | Freescale (Motorola) ColdFire 5274/5275 processor support. | 163 | Freescale (Motorola) ColdFire 5274/5275 processor support. |
157 | 164 | ||
158 | config M528x | 165 | config M528x |
159 | bool "MCF528x" | 166 | bool "MCF528x" |
160 | select GENERIC_CLOCKEVENTS | 167 | select GENERIC_CLOCKEVENTS |
168 | select HAVE_CACHE_SPLIT | ||
161 | help | 169 | help |
162 | Motorola ColdFire 5280/5282 processor support. | 170 | Motorola ColdFire 5280/5282 processor support. |
163 | 171 | ||
@@ -250,6 +258,30 @@ config OLDMASK | |||
250 | Build support for the older revision ColdFire 5307 silicon. | 258 | Build support for the older revision ColdFire 5307 silicon. |
251 | Specifically this is the 1H55J mask revision. | 259 | Specifically this is the 1H55J mask revision. |
252 | 260 | ||
261 | if HAVE_CACHE_SPLIT | ||
262 | choice | ||
263 | prompt "Split Cache Configuration" | ||
264 | default CACHE_I | ||
265 | |||
266 | config CACHE_I | ||
267 | bool "Instruction" | ||
268 | help | ||
269 | Use all of the ColdFire CPU cache memory as an instruction cache. | ||
270 | |||
271 | config CACHE_D | ||
272 | bool "Data" | ||
273 | help | ||
274 | Use all of the ColdFire CPU cache memory as a data cache. | ||
275 | |||
276 | config CACHE_BOTH | ||
277 | bool "Both" | ||
278 | help | ||
279 | Split the ColdFire CPU cache, and use half as an instruction cache | ||
280 | and half as a data cache. | ||
281 | endchoice | ||
282 | |||
283 | endif | ||
284 | |||
253 | comment "Platform" | 285 | comment "Platform" |
254 | 286 | ||
255 | config PILOT3 | 287 | config PILOT3 |