diff options
-rw-r--r-- | arch/sh64/Kconfig | 45 |
1 files changed, 19 insertions, 26 deletions
diff --git a/arch/sh64/Kconfig b/arch/sh64/Kconfig index e177e417670a..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 | ||
@@ -146,60 +154,54 @@ comment "Memory options" | |||
146 | 154 | ||
147 | config CACHED_MEMORY_OFFSET | 155 | config CACHED_MEMORY_OFFSET |
148 | hex "Cached Area Offset" | 156 | hex "Cached Area Offset" |
149 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
150 | default "20000000" | 157 | default "20000000" |
151 | 158 | ||
152 | config MEMORY_START | 159 | config MEMORY_START |
153 | hex "Physical memory start address" | 160 | hex "Physical memory start address" |
154 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
155 | default "80000000" | 161 | default "80000000" |
156 | 162 | ||
157 | config MEMORY_SIZE_IN_MB | 163 | config MEMORY_SIZE_IN_MB |
158 | int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR | 164 | int "Memory size (in MB)" |
159 | default "64" if SH_HARP || SH_CAYMAN | ||
160 | default "8" if SH_SIMULATOR | 165 | default "8" if SH_SIMULATOR |
166 | default "64" | ||
161 | 167 | ||
162 | comment "Cache options" | 168 | comment "Cache options" |
163 | 169 | ||
164 | config DCACHE_DISABLED | ||
165 | bool "DCache Disabling" | ||
166 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
167 | |||
168 | choice | 170 | choice |
169 | prompt "DCache mode" | 171 | prompt "DCache mode" |
170 | depends on !DCACHE_DISABLED && !SH_SIMULATOR | 172 | default DCACHE_DISABLED if SH_SIMULATOR |
171 | default DCACHE_WRITE_BACK | 173 | default DCACHE_WRITE_BACK |
172 | 174 | ||
173 | config DCACHE_WRITE_BACK | 175 | config DCACHE_WRITE_BACK |
174 | bool "Write-back" | 176 | bool "Write-back" |
177 | depends on !SH_SIMULATOR | ||
175 | 178 | ||
176 | config DCACHE_WRITE_THROUGH | 179 | config DCACHE_WRITE_THROUGH |
177 | bool "Write-through" | 180 | bool "Write-through" |
181 | depends on !SH_SIMULATOR | ||
182 | |||
183 | config DCACHE_DISABLED | ||
184 | bool "Disabled" | ||
178 | 185 | ||
179 | endchoice | 186 | endchoice |
180 | 187 | ||
181 | config ICACHE_DISABLED | 188 | config ICACHE_DISABLED |
182 | bool "ICache Disabling" | 189 | bool "ICache Disabling" |
183 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
184 | 190 | ||
185 | config PCIDEVICE_MEMORY_START | 191 | config PCIDEVICE_MEMORY_START |
186 | hex | 192 | hex |
187 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
188 | default "C0000000" | 193 | default "C0000000" |
189 | 194 | ||
190 | config DEVICE_MEMORY_START | 195 | config DEVICE_MEMORY_START |
191 | hex | 196 | hex |
192 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
193 | default "E0000000" | 197 | default "E0000000" |
194 | 198 | ||
195 | config FLASH_MEMORY_START | 199 | config FLASH_MEMORY_START |
196 | hex "Flash memory/on-chip devices start address" | 200 | hex "Flash memory/on-chip devices start address" |
197 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
198 | default "00000000" | 201 | default "00000000" |
199 | 202 | ||
200 | config PCI_BLOCK_START | 203 | config PCI_BLOCK_START |
201 | hex "PCI block start address" | 204 | hex "PCI block start address" |
202 | depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR | ||
203 | default "40000000" | 205 | default "40000000" |
204 | 206 | ||
205 | comment "CPU Subtype specific options" | 207 | comment "CPU Subtype specific options" |
@@ -208,8 +210,10 @@ config SH64_ID2815_WORKAROUND | |||
208 | bool "Include workaround for SH5-101 cut2 silicon defect ID2815" | 210 | bool "Include workaround for SH5-101 cut2 silicon defect ID2815" |
209 | 211 | ||
210 | comment "Misc options" | 212 | comment "Misc options" |
213 | |||
211 | config HEARTBEAT | 214 | config HEARTBEAT |
212 | bool "Heartbeat LED" | 215 | bool "Heartbeat LED" |
216 | depends on SH_CAYMAN | ||
213 | 217 | ||
214 | config HDSP253_LED | 218 | config HDSP253_LED |
215 | bool "Support for HDSP-253 LED" | 219 | bool "Support for HDSP-253 LED" |
@@ -236,6 +240,7 @@ config SBUS | |||
236 | 240 | ||
237 | config PCI | 241 | config PCI |
238 | bool "PCI support" | 242 | bool "PCI support" |
243 | depends on SH_CAYMAN | ||
239 | help | 244 | help |
240 | 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 |
241 | 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 |
@@ -288,15 +293,3 @@ source "security/Kconfig" | |||
288 | source "crypto/Kconfig" | 293 | source "crypto/Kconfig" |
289 | 294 | ||
290 | source "lib/Kconfig" | 295 | source "lib/Kconfig" |
291 | |||
292 | # | ||
293 | # Use the generic interrupt handling code in kernel/irq/: | ||
294 | # | ||
295 | config GENERIC_HARDIRQS | ||
296 | bool | ||
297 | default y | ||
298 | |||
299 | config GENERIC_IRQ_PROBE | ||
300 | bool | ||
301 | default y | ||
302 | |||