aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-11 02:32:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-06-11 02:32:07 -0400
commit357d59469c1179c30b8c425aba302346fac3594e (patch)
tree6e27fcd85967ad06072ac84788ac891cbcc10235 /arch/sh/Kconfig
parent54039591cee40ef1f440f1245ed066c3e7d54a9a (diff)
sh: Tidy up dependencies for SH-2 build.
SH-2 can presently get in to some pretty bogus states, so we tidy up the dependencies a bit and get it all building again. This gets us a bit closer to a functional allyesconfig and allmodconfig, though there are still a few things to fix up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig43
1 files changed, 32 insertions, 11 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 78f5f2305132..b16407c9f2c4 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -55,8 +55,21 @@ config GENERIC_TIME
55config GENERIC_CLOCKEVENTS 55config GENERIC_CLOCKEVENTS
56 def_bool n 56 def_bool n
57 57
58config SYS_SUPPORTS_PM
59 bool
60
58config SYS_SUPPORTS_APM_EMULATION 61config SYS_SUPPORTS_APM_EMULATION
59 bool 62 bool
63 select SYS_SUPPORTS_PM
64
65config SYS_SUPPORTS_SMP
66 bool
67
68config SYS_SUPPORTS_NUMA
69 bool
70
71config SYS_SUPPORTS_PCI
72 bool
60 73
61config ARCH_MAY_HAVE_PC_FDC 74config ARCH_MAY_HAVE_PC_FDC
62 bool 75 bool
@@ -102,7 +115,7 @@ endchoice
102 115
103config SH_FPU 116config SH_FPU
104 bool "FPU support" 117 bool "FPU support"
105 depends on !CPU_SH3 118 depends on CPU_SH4
106 default y 119 default y
107 help 120 help
108 Selecting this option will enable support for SH processors that 121 Selecting this option will enable support for SH processors that
@@ -236,6 +249,7 @@ config SH_7751_SOLUTION_ENGINE
236config SH_7780_SOLUTION_ENGINE 249config SH_7780_SOLUTION_ENGINE
237 bool "SolutionEngine7780" 250 bool "SolutionEngine7780"
238 select SOLUTION_ENGINE 251 select SOLUTION_ENGINE
252 select SYS_SUPPORTS_PCI
239 depends on CPU_SUBTYPE_SH7780 253 depends on CPU_SUBTYPE_SH7780
240 help 254 help
241 Select 7780 SolutionEngine if configuring for a Renesas SH7780 255 Select 7780 SolutionEngine if configuring for a Renesas SH7780
@@ -275,20 +289,16 @@ config SH_7751_SYSTEMH
275config SH_HP6XX 289config SH_HP6XX
276 bool "HP6XX" 290 bool "HP6XX"
277 select SYS_SUPPORTS_APM_EMULATION 291 select SYS_SUPPORTS_APM_EMULATION
292 select HD6446X_SERIES
278 depends on CPU_SUBTYPE_SH7709 293 depends on CPU_SUBTYPE_SH7709
279 help 294 help
280 Select HP6XX if configuring for a HP jornada HP6xx. 295 Select HP6XX if configuring for a HP jornada HP6xx.
281 More information (hardware only) at 296 More information (hardware only) at
282 <http://www.hp.com/jornada/>. 297 <http://www.hp.com/jornada/>.
283 298
284config SH_SATURN
285 bool "Saturn"
286 depends on CPU_SUBTYPE_SH7604
287 help
288 Select Saturn if configuring for a SEGA Saturn.
289
290config SH_DREAMCAST 299config SH_DREAMCAST
291 bool "Dreamcast" 300 bool "Dreamcast"
301 select SYS_SUPPORTS_PCI
292 depends on CPU_SUBTYPE_SH7091 302 depends on CPU_SUBTYPE_SH7091
293 help 303 help
294 Select Dreamcast if configuring for a SEGA Dreamcast. 304 Select Dreamcast if configuring for a SEGA Dreamcast.
@@ -307,6 +317,7 @@ config SH_MPC1211
307config SH_SH03 317config SH_SH03
308 bool "Interface CTP/PCI-SH03" 318 bool "Interface CTP/PCI-SH03"
309 depends on CPU_SUBTYPE_SH7751 && BROKEN 319 depends on CPU_SUBTYPE_SH7751 && BROKEN
320 select SYS_SUPPORTS_PCI
310 help 321 help
311 CTP/PCI-SH03 is a CPU module computer that is produced 322 CTP/PCI-SH03 is a CPU module computer that is produced
312 by Interface Corporation. 323 by Interface Corporation.
@@ -315,6 +326,7 @@ config SH_SH03
315config SH_SECUREEDGE5410 326config SH_SECUREEDGE5410
316 bool "SecureEdge5410" 327 bool "SecureEdge5410"
317 depends on CPU_SUBTYPE_SH7751R 328 depends on CPU_SUBTYPE_SH7751R
329 select SYS_SUPPORTS_PCI
318 help 330 help
319 Select SecureEdge5410 if configuring for a SnapGear SH board. 331 Select SecureEdge5410 if configuring for a SnapGear SH board.
320 This includes both the OEM SecureEdge products as well as the 332 This includes both the OEM SecureEdge products as well as the
@@ -337,6 +349,7 @@ config SH_7710VOIPGW
337config SH_RTS7751R2D 349config SH_RTS7751R2D
338 bool "RTS7751R2D" 350 bool "RTS7751R2D"
339 depends on CPU_SUBTYPE_SH7751R 351 depends on CPU_SUBTYPE_SH7751R
352 select SYS_SUPPORTS_PCI
340 help 353 help
341 Select RTS7751R2D if configuring for a Renesas Technology 354 Select RTS7751R2D if configuring for a Renesas Technology
342 Sales SH-Graphics board. 355 Sales SH-Graphics board.
@@ -344,6 +357,7 @@ config SH_RTS7751R2D
344config SH_HIGHLANDER 357config SH_HIGHLANDER
345 bool "Highlander" 358 bool "Highlander"
346 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 359 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
360 select SYS_SUPPORTS_PCI
347 361
348config SH_EDOSK7705 362config SH_EDOSK7705
349 bool "EDOSK7705" 363 bool "EDOSK7705"
@@ -359,12 +373,14 @@ config SH_SH4202_MICRODEV
359config SH_LANDISK 373config SH_LANDISK
360 bool "LANDISK" 374 bool "LANDISK"
361 depends on CPU_SUBTYPE_SH7751R 375 depends on CPU_SUBTYPE_SH7751R
376 select SYS_SUPPORTS_PCI
362 help 377 help
363 I-O DATA DEVICE, INC. "LANDISK Series" support. 378 I-O DATA DEVICE, INC. "LANDISK Series" support.
364 379
365config SH_TITAN 380config SH_TITAN
366 bool "TITAN" 381 bool "TITAN"
367 depends on CPU_SUBTYPE_SH7751R 382 depends on CPU_SUBTYPE_SH7751R
383 select SYS_SUPPORTS_PCI
368 help 384 help
369 Select Titan if you are configuring for a Nimble Microsystems 385 Select Titan if you are configuring for a Nimble Microsystems
370 NetEngine NP51R. 386 NetEngine NP51R.
@@ -378,6 +394,7 @@ config SH_SHMIN
378config SH_LBOX_RE2 394config SH_LBOX_RE2
379 bool "L-BOX RE2" 395 bool "L-BOX RE2"
380 depends on CPU_SUBTYPE_SH7751R 396 depends on CPU_SUBTYPE_SH7751R
397 select SYS_SUPPORTS_PCI
381 help 398 help
382 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. 399 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
383 400
@@ -481,8 +498,10 @@ config SH_PCLK_FREQ
481 498
482config SH_CLK_MD 499config SH_CLK_MD
483 int "CPU Mode Pin Setting" 500 int "CPU Mode Pin Setting"
484 default 0
485 depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206 501 depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206
502 default 6 if CPU_SUBTYPE_SH7206
503 default 5 if CPU_SUBTYPE_SH7619
504 default 0
486 help 505 help
487 MD2 - MD0 pin setting. 506 MD2 - MD0 pin setting.
488 507
@@ -554,6 +573,7 @@ config CRASH_DUMP
554 573
555config SMP 574config SMP
556 bool "Symmetric multi-processing support" 575 bool "Symmetric multi-processing support"
576 depends on SYS_SUPPORTS_SMP
557 ---help--- 577 ---help---
558 This enables support for systems with more than one CPU. If you have 578 This enables support for systems with more than one CPU. If you have
559 a system with only one CPU, like most personal computers, say N. If 579 a system with only one CPU, like most personal computers, say N. If
@@ -617,6 +637,7 @@ config BOOT_LINK_OFFSET
617 637
618config UBC_WAKEUP 638config UBC_WAKEUP
619 bool "Wakeup UBC on startup" 639 bool "Wakeup UBC on startup"
640 depends on CPU_SH4
620 help 641 help
621 Selecting this option will wakeup the User Break Controller (UBC) on 642 Selecting this option will wakeup the User Break Controller (UBC) on
622 startup. Although the UBC is left in an awake state when the processor 643 startup. Although the UBC is left in an awake state when the processor
@@ -645,8 +666,8 @@ menu "Bus options"
645# we're not using PCMCIA, so we make it dependent on 666# we're not using PCMCIA, so we make it dependent on
646# PCMCIA outright. -- PFM. 667# PCMCIA outright. -- PFM.
647config ISA 668config ISA
648 bool 669 def_bool y
649 default y if PCMCIA 670 depends on PCMCIA && HD6446X_SERIES
650 help 671 help
651 Find out whether you have ISA slots on your motherboard. ISA is the 672 Find out whether you have ISA slots on your motherboard. ISA is the
652 name of a bus system, i.e. the way the CPU talks to the other stuff 673 name of a bus system, i.e. the way the CPU talks to the other stuff
@@ -701,7 +722,7 @@ source "fs/Kconfig.binfmt"
701endmenu 722endmenu
702 723
703menu "Power management options (EXPERIMENTAL)" 724menu "Power management options (EXPERIMENTAL)"
704depends on EXPERIMENTAL 725depends on EXPERIMENTAL && SYS_SUPPORTS_PM
705 726
706source kernel/power/Kconfig 727source kernel/power/Kconfig
707 728