diff options
Diffstat (limited to 'arch/sh64/Kconfig')
-rw-r--r-- | arch/sh64/Kconfig | 51 |
1 files changed, 19 insertions, 32 deletions
diff --git a/arch/sh64/Kconfig b/arch/sh64/Kconfig index 5664631d8ae5..b3327ce8e82f 100644 --- a/arch/sh64/Kconfig +++ b/arch/sh64/Kconfig | |||
@@ -36,6 +36,14 @@ config GENERIC_CALIBRATE_DELAY | |||
36 | bool | 36 | bool |
37 | default y | 37 | default y |
38 | 38 | ||
39 | config GENERIC_HARDIRQS | ||
40 | bool | ||
41 | default y | ||
42 | |||
43 | config GENERIC_IRQ_PROBE | ||
44 | bool | ||
45 | default y | ||
46 | |||
39 | config RWSEM_XCHGADD_ALGORITHM | 47 | config RWSEM_XCHGADD_ALGORITHM |
40 | bool | 48 | bool |
41 | 49 | ||
@@ -58,18 +66,12 @@ choice | |||
58 | prompt "SuperH system type" | 66 | prompt "SuperH system type" |
59 | default SH_SIMULATOR | 67 | default SH_SIMULATOR |
60 | 68 | ||
61 | config SH_GENERIC | ||
62 | bool "Generic" | ||
63 | |||
64 | config SH_SIMULATOR | 69 | config SH_SIMULATOR |
65 | bool "Simulator" | 70 | bool "Simulator" |
66 | 71 | ||
67 | config SH_CAYMAN | 72 | config SH_CAYMAN |
68 | bool "Cayman" | 73 | bool "Cayman" |
69 | 74 | ||
70 | config SH_ROMRAM | ||
71 | bool "ROM/RAM" | ||
72 | |||
73 | config SH_HARP | 75 | config SH_HARP |
74 | bool "ST50-Harp" | 76 | bool "ST50-Harp" |
75 | 77 | ||
@@ -152,60 +154,54 @@ comment "Memory options" | |||
152 | 154 | ||
153 | config CACHED_MEMORY_OFFSET | 155 | config CACHED_MEMORY_OFFSET |
154 | hex "Cached Area Offset" | 156 | hex "Cached Area Offset" |
155 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
156 | default "20000000" | 157 | default "20000000" |
157 | 158 | ||
158 | config MEMORY_START | 159 | config MEMORY_START |
159 | hex "Physical memory start address" | 160 | hex "Physical memory start address" |
160 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
161 | default "80000000" | 161 | default "80000000" |
162 | 162 | ||
163 | config MEMORY_SIZE_IN_MB | 163 | config MEMORY_SIZE_IN_MB |
164 | int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR | 164 | int "Memory size (in MB)" |
165 | default "64" if SH_HARP || SH_CAYMAN | ||
166 | default "8" if SH_SIMULATOR | 165 | default "8" if SH_SIMULATOR |
166 | default "64" | ||
167 | 167 | ||
168 | comment "Cache options" | 168 | comment "Cache options" |
169 | 169 | ||
170 | config DCACHE_DISABLED | ||
171 | bool "DCache Disabling" | ||
172 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
173 | |||
174 | choice | 170 | choice |
175 | prompt "DCache mode" | 171 | prompt "DCache mode" |
176 | depends on !DCACHE_DISABLED && !SH_SIMULATOR | 172 | default DCACHE_DISABLED if SH_SIMULATOR |
177 | default DCACHE_WRITE_BACK | 173 | default DCACHE_WRITE_BACK |
178 | 174 | ||
179 | config DCACHE_WRITE_BACK | 175 | config DCACHE_WRITE_BACK |
180 | bool "Write-back" | 176 | bool "Write-back" |
177 | depends on !SH_SIMULATOR | ||
181 | 178 | ||
182 | config DCACHE_WRITE_THROUGH | 179 | config DCACHE_WRITE_THROUGH |
183 | bool "Write-through" | 180 | bool "Write-through" |
181 | depends on !SH_SIMULATOR | ||
182 | |||
183 | config DCACHE_DISABLED | ||
184 | bool "Disabled" | ||
184 | 185 | ||
185 | endchoice | 186 | endchoice |
186 | 187 | ||
187 | config ICACHE_DISABLED | 188 | config ICACHE_DISABLED |
188 | bool "ICache Disabling" | 189 | bool "ICache Disabling" |
189 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
190 | 190 | ||
191 | config PCIDEVICE_MEMORY_START | 191 | config PCIDEVICE_MEMORY_START |
192 | hex | 192 | hex |
193 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
194 | default "C0000000" | 193 | default "C0000000" |
195 | 194 | ||
196 | config DEVICE_MEMORY_START | 195 | config DEVICE_MEMORY_START |
197 | hex | 196 | hex |
198 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
199 | default "E0000000" | 197 | default "E0000000" |
200 | 198 | ||
201 | config FLASH_MEMORY_START | 199 | config FLASH_MEMORY_START |
202 | hex "Flash memory/on-chip devices start address" | 200 | hex "Flash memory/on-chip devices start address" |
203 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
204 | default "00000000" | 201 | default "00000000" |
205 | 202 | ||
206 | config PCI_BLOCK_START | 203 | config PCI_BLOCK_START |
207 | hex "PCI block start address" | 204 | hex "PCI block start address" |
208 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
209 | default "40000000" | 205 | default "40000000" |
210 | 206 | ||
211 | comment "CPU Subtype specific options" | 207 | comment "CPU Subtype specific options" |
@@ -214,8 +210,10 @@ config SH64_ID2815_WORKAROUND | |||
214 | bool "Include workaround for SH5-101 cut2 silicon defect ID2815" | 210 | bool "Include workaround for SH5-101 cut2 silicon defect ID2815" |
215 | 211 | ||
216 | comment "Misc options" | 212 | comment "Misc options" |
213 | |||
217 | config HEARTBEAT | 214 | config HEARTBEAT |
218 | bool "Heartbeat LED" | 215 | bool "Heartbeat LED" |
216 | depends on SH_CAYMAN | ||
219 | 217 | ||
220 | config HDSP253_LED | 218 | config HDSP253_LED |
221 | bool "Support for HDSP-253 LED" | 219 | bool "Support for HDSP-253 LED" |
@@ -242,6 +240,7 @@ config SBUS | |||
242 | 240 | ||
243 | config PCI | 241 | config PCI |
244 | bool "PCI support" | 242 | bool "PCI support" |
243 | depends on SH_CAYMAN | ||
245 | help | 244 | help |
246 | Find out whether you have a PCI motherboard. PCI is the name of a | 245 | Find out whether you have a PCI motherboard. PCI is the name of a |
247 | bus system, i.e. the way the CPU talks to the other stuff inside | 246 | bus system, i.e. the way the CPU talks to the other stuff inside |
@@ -294,15 +293,3 @@ source "security/Kconfig" | |||
294 | source "crypto/Kconfig" | 293 | source "crypto/Kconfig" |
295 | 294 | ||
296 | source "lib/Kconfig" | 295 | source "lib/Kconfig" |
297 | |||
298 | # | ||
299 | # Use the generic interrupt handling code in kernel/irq/: | ||
300 | # | ||
301 | config GENERIC_HARDIRQS | ||
302 | bool | ||
303 | default y | ||
304 | |||
305 | config GENERIC_IRQ_PROBE | ||
306 | bool | ||
307 | default y | ||
308 | |||