aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-10-01 04:45:24 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-10-01 04:45:24 -0400
commit8653fe49fc5b8541451a2a4bc5078d5163132907 (patch)
tree01973500679e2fb0c1e36fadf7191181098a1d1a /arch
parent049aa166b112beab77b9a2f8d9caa03b74843eab (diff)
sh64: Tidy up Kconfig dependencies.
Now that the ROM-RAM and generic boards are killed off, refactor the dependencies accordingly. Those were the only special cases, so all of the Kconfig dependency hell gets much cleaner as a result. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh64/Kconfig45
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
39config GENERIC_HARDIRQS
40 bool
41 default y
42
43config GENERIC_IRQ_PROBE
44 bool
45 default y
46
39config RWSEM_XCHGADD_ALGORITHM 47config RWSEM_XCHGADD_ALGORITHM
40 bool 48 bool
41 49
@@ -146,60 +154,54 @@ comment "Memory options"
146 154
147config CACHED_MEMORY_OFFSET 155config 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
152config MEMORY_START 159config 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
157config MEMORY_SIZE_IN_MB 163config 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
162comment "Cache options" 168comment "Cache options"
163 169
164config DCACHE_DISABLED
165 bool "DCache Disabling"
166 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
167
168choice 170choice
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
173config DCACHE_WRITE_BACK 175config DCACHE_WRITE_BACK
174 bool "Write-back" 176 bool "Write-back"
177 depends on !SH_SIMULATOR
175 178
176config DCACHE_WRITE_THROUGH 179config DCACHE_WRITE_THROUGH
177 bool "Write-through" 180 bool "Write-through"
181 depends on !SH_SIMULATOR
182
183config DCACHE_DISABLED
184 bool "Disabled"
178 185
179endchoice 186endchoice
180 187
181config ICACHE_DISABLED 188config ICACHE_DISABLED
182 bool "ICache Disabling" 189 bool "ICache Disabling"
183 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
184 190
185config PCIDEVICE_MEMORY_START 191config PCIDEVICE_MEMORY_START
186 hex 192 hex
187 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
188 default "C0000000" 193 default "C0000000"
189 194
190config DEVICE_MEMORY_START 195config DEVICE_MEMORY_START
191 hex 196 hex
192 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
193 default "E0000000" 197 default "E0000000"
194 198
195config FLASH_MEMORY_START 199config 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
200config PCI_BLOCK_START 203config 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
205comment "CPU Subtype specific options" 207comment "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
210comment "Misc options" 212comment "Misc options"
213
211config HEARTBEAT 214config HEARTBEAT
212 bool "Heartbeat LED" 215 bool "Heartbeat LED"
216 depends on SH_CAYMAN
213 217
214config HDSP253_LED 218config HDSP253_LED
215 bool "Support for HDSP-253 LED" 219 bool "Support for HDSP-253 LED"
@@ -236,6 +240,7 @@ config SBUS
236 240
237config PCI 241config 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"
288source "crypto/Kconfig" 293source "crypto/Kconfig"
289 294
290source "lib/Kconfig" 295source "lib/Kconfig"
291
292#
293# Use the generic interrupt handling code in kernel/irq/:
294#
295config GENERIC_HARDIRQS
296 bool
297 default y
298
299config GENERIC_IRQ_PROBE
300 bool
301 default y
302