aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68knommu/Kconfig')
-rw-r--r--arch/m68knommu/Kconfig32
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
82config HAVE_CACHE_SPLIT
83 bool
84
82source "init/Kconfig" 85source "init/Kconfig"
83 86
84source "kernel/Kconfig.freezer" 87source "kernel/Kconfig.freezer"
@@ -124,12 +127,14 @@ config M5206e
124config M520x 127config 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
130config M523x 134config 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
142config M5271 147config 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
153config M5275 159config 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
158config M528x 165config 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
261if HAVE_CACHE_SPLIT
262choice
263 prompt "Split Cache Configuration"
264 default CACHE_I
265
266config CACHE_I
267 bool "Instruction"
268 help
269 Use all of the ColdFire CPU cache memory as an instruction cache.
270
271config CACHE_D
272 bool "Data"
273 help
274 Use all of the ColdFire CPU cache memory as a data cache.
275
276config 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.
281endchoice
282
283endif
284
253comment "Platform" 285comment "Platform"
254 286
255config PILOT3 287config PILOT3