aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-11-01 12:24:48 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-11-09 02:40:07 -0500
commitf020c92de48246510623162fb22d60d91810cc56 (patch)
tree9a578e55f3c8c9006f08915926f8b530d19f1258 /arch/sh/Kconfig
parent16b259203c513ed28bd31cc9a981e0d3ad517943 (diff)
sh: Enable optional gpiolib for all CPUs with pinmux tables.
All of the CPUs with pinmux tables support gpiolib. At present the boards that depend on it for initialization manually select gpiolib as needed, but there is no reason why it can't be exposed generically to the user regardless. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2fe8812f78de..3b572fe1c040 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -274,6 +274,7 @@ config CPU_SUBTYPE_SH7203
274 select CPU_HAS_FPU 274 select CPU_HAS_FPU
275 select SYS_SUPPORTS_CMT 275 select SYS_SUPPORTS_CMT
276 select SYS_SUPPORTS_MTU2 276 select SYS_SUPPORTS_MTU2
277 select ARCH_WANT_OPTIONAL_GPIOLIB
277 278
278config CPU_SUBTYPE_SH7206 279config CPU_SUBTYPE_SH7206
279 bool "Support SH7206 processor" 280 bool "Support SH7206 processor"
@@ -345,6 +346,7 @@ config CPU_SUBTYPE_SH7720
345 select CPU_SH3 346 select CPU_SH3
346 select CPU_HAS_DSP 347 select CPU_HAS_DSP
347 select SYS_SUPPORTS_CMT 348 select SYS_SUPPORTS_CMT
349 select ARCH_WANT_OPTIONAL_GPIOLIB
348 help 350 help
349 Select SH7720 if you have a SH3-DSP SH7720 CPU. 351 Select SH7720 if you have a SH3-DSP SH7720 CPU.
350 352
@@ -407,6 +409,7 @@ config CPU_SUBTYPE_SH7723
407 select ARCH_SHMOBILE 409 select ARCH_SHMOBILE
408 select ARCH_SPARSEMEM_ENABLE 410 select ARCH_SPARSEMEM_ENABLE
409 select SYS_SUPPORTS_CMT 411 select SYS_SUPPORTS_CMT
412 select ARCH_WANT_OPTIONAL_GPIOLIB
410 help 413 help
411 Select SH7723 if you have an SH-MobileR2 CPU. 414 Select SH7723 if you have an SH-MobileR2 CPU.
412 415
@@ -417,6 +420,7 @@ config CPU_SUBTYPE_SH7724
417 select ARCH_SHMOBILE 420 select ARCH_SHMOBILE
418 select ARCH_SPARSEMEM_ENABLE 421 select ARCH_SPARSEMEM_ENABLE
419 select SYS_SUPPORTS_CMT 422 select SYS_SUPPORTS_CMT
423 select ARCH_WANT_OPTIONAL_GPIOLIB
420 help 424 help
421 Select SH7724 if you have an SH-MobileR2R CPU. 425 Select SH7724 if you have an SH-MobileR2R CPU.
422 426
@@ -424,6 +428,7 @@ config CPU_SUBTYPE_SH7757
424 bool "Support SH7757 processor" 428 bool "Support SH7757 processor"
425 select CPU_SH4A 429 select CPU_SH4A
426 select CPU_SHX2 430 select CPU_SHX2
431 select ARCH_WANT_OPTIONAL_GPIOLIB
427 help 432 help
428 Select SH7757 if you have a SH4A SH7757 CPU. 433 Select SH7757 if you have a SH4A SH7757 CPU.
429 434
@@ -447,6 +452,7 @@ config CPU_SUBTYPE_SH7785
447 select CPU_SHX2 452 select CPU_SHX2
448 select ARCH_SPARSEMEM_ENABLE 453 select ARCH_SPARSEMEM_ENABLE
449 select SYS_SUPPORTS_NUMA 454 select SYS_SUPPORTS_NUMA
455 select ARCH_WANT_OPTIONAL_GPIOLIB
450 456
451config CPU_SUBTYPE_SH7786 457config CPU_SUBTYPE_SH7786
452 bool "Support SH7786 processor" 458 bool "Support SH7786 processor"
@@ -454,6 +460,7 @@ config CPU_SUBTYPE_SH7786
454 select CPU_SHX3 460 select CPU_SHX3
455 select CPU_HAS_PTEAEX 461 select CPU_HAS_PTEAEX
456 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 462 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
463 select ARCH_WANT_OPTIONAL_GPIOLIB
457 464
458config CPU_SUBTYPE_SHX3 465config CPU_SUBTYPE_SHX3
459 bool "Support SH-X3 processor" 466 bool "Support SH-X3 processor"
@@ -478,6 +485,7 @@ config CPU_SUBTYPE_SH7722
478 select ARCH_SPARSEMEM_ENABLE 485 select ARCH_SPARSEMEM_ENABLE
479 select SYS_SUPPORTS_NUMA 486 select SYS_SUPPORTS_NUMA
480 select SYS_SUPPORTS_CMT 487 select SYS_SUPPORTS_CMT
488 select ARCH_WANT_OPTIONAL_GPIOLIB
481 489
482config CPU_SUBTYPE_SH7366 490config CPU_SUBTYPE_SH7366
483 bool "Support SH7366 processor" 491 bool "Support SH7366 processor"