diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-06-11 02:32:07 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-06-11 02:32:07 -0400 |
commit | 357d59469c1179c30b8c425aba302346fac3594e (patch) | |
tree | 6e27fcd85967ad06072ac84788ac891cbcc10235 /arch/sh/Kconfig | |
parent | 54039591cee40ef1f440f1245ed066c3e7d54a9a (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/Kconfig | 43 |
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 | |||
55 | config GENERIC_CLOCKEVENTS | 55 | config GENERIC_CLOCKEVENTS |
56 | def_bool n | 56 | def_bool n |
57 | 57 | ||
58 | config SYS_SUPPORTS_PM | ||
59 | bool | ||
60 | |||
58 | config SYS_SUPPORTS_APM_EMULATION | 61 | config SYS_SUPPORTS_APM_EMULATION |
59 | bool | 62 | bool |
63 | select SYS_SUPPORTS_PM | ||
64 | |||
65 | config SYS_SUPPORTS_SMP | ||
66 | bool | ||
67 | |||
68 | config SYS_SUPPORTS_NUMA | ||
69 | bool | ||
70 | |||
71 | config SYS_SUPPORTS_PCI | ||
72 | bool | ||
60 | 73 | ||
61 | config ARCH_MAY_HAVE_PC_FDC | 74 | config ARCH_MAY_HAVE_PC_FDC |
62 | bool | 75 | bool |
@@ -102,7 +115,7 @@ endchoice | |||
102 | 115 | ||
103 | config SH_FPU | 116 | config 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 | |||
236 | config SH_7780_SOLUTION_ENGINE | 249 | config 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 | |||
275 | config SH_HP6XX | 289 | config 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 | ||
284 | config SH_SATURN | ||
285 | bool "Saturn" | ||
286 | depends on CPU_SUBTYPE_SH7604 | ||
287 | help | ||
288 | Select Saturn if configuring for a SEGA Saturn. | ||
289 | |||
290 | config SH_DREAMCAST | 299 | config 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 | |||
307 | config SH_SH03 | 317 | config 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 | |||
315 | config SH_SECUREEDGE5410 | 326 | config 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 | |||
337 | config SH_RTS7751R2D | 349 | config 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 | |||
344 | config SH_HIGHLANDER | 357 | config 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 | ||
348 | config SH_EDOSK7705 | 362 | config SH_EDOSK7705 |
349 | bool "EDOSK7705" | 363 | bool "EDOSK7705" |
@@ -359,12 +373,14 @@ config SH_SH4202_MICRODEV | |||
359 | config SH_LANDISK | 373 | config 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 | ||
365 | config SH_TITAN | 380 | config 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 | |||
378 | config SH_LBOX_RE2 | 394 | config 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 | ||
482 | config SH_CLK_MD | 499 | config 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 | ||
555 | config SMP | 574 | config 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 | ||
618 | config UBC_WAKEUP | 638 | config 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. |
647 | config ISA | 668 | config 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" | |||
701 | endmenu | 722 | endmenu |
702 | 723 | ||
703 | menu "Power management options (EXPERIMENTAL)" | 724 | menu "Power management options (EXPERIMENTAL)" |
704 | depends on EXPERIMENTAL | 725 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM |
705 | 726 | ||
706 | source kernel/power/Kconfig | 727 | source kernel/power/Kconfig |
707 | 728 | ||