aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/Kconfig7
-rw-r--r--arch/sh/boards/Kconfig2
-rw-r--r--arch/sh/boards/mach-highlander/Kconfig2
-rw-r--r--arch/sh/boards/mach-rsk/Kconfig2
4 files changed, 3 insertions, 10 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 3a2be2278944..ebabe518e729 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -126,13 +126,6 @@ config ARCH_HAS_ILOG2_U64
126config ARCH_NO_VIRT_TO_BUS 126config ARCH_NO_VIRT_TO_BUS
127 def_bool y 127 def_bool y
128 128
129config ARCH_WANT_OPTIONAL_GPIOLIB
130 def_bool y
131 depends on !ARCH_REQUIRE_GPIOLIB
132
133config ARCH_REQUIRE_GPIOLIB
134 def_bool n
135
136config IO_TRAPPED 129config IO_TRAPPED
137 bool 130 bool
138 131
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index 802d5c475a7d..c9da37088d2e 100644
--- a/arch/sh/boards/Kconfig
+++ b/arch/sh/boards/Kconfig
@@ -240,7 +240,7 @@ config SH_X3PROTO
240config SH_MAGIC_PANEL_R2 240config SH_MAGIC_PANEL_R2
241 bool "Magic Panel R2" 241 bool "Magic Panel R2"
242 depends on CPU_SUBTYPE_SH7720 242 depends on CPU_SUBTYPE_SH7720
243 select GENERIC_GPIO 243 select ARCH_REQUIRE_GPIOLIB
244 help 244 help
245 Select Magic Panel R2 if configuring for Magic Panel R2. 245 Select Magic Panel R2 if configuring for Magic Panel R2.
246 246
diff --git a/arch/sh/boards/mach-highlander/Kconfig b/arch/sh/boards/mach-highlander/Kconfig
index 08057f62687b..def49cc0a7b9 100644
--- a/arch/sh/boards/mach-highlander/Kconfig
+++ b/arch/sh/boards/mach-highlander/Kconfig
@@ -18,7 +18,7 @@ config SH_R7780MP
18config SH_R7785RP 18config SH_R7785RP
19 bool "R7785RP board support" 19 bool "R7785RP board support"
20 depends on CPU_SUBTYPE_SH7785 20 depends on CPU_SUBTYPE_SH7785
21 select GENERIC_GPIO 21 select ARCH_REQUIRE_GPIOLIB
22 22
23endchoice 23endchoice
24 24
diff --git a/arch/sh/boards/mach-rsk/Kconfig b/arch/sh/boards/mach-rsk/Kconfig
index bff095dffc02..aeff3b042205 100644
--- a/arch/sh/boards/mach-rsk/Kconfig
+++ b/arch/sh/boards/mach-rsk/Kconfig
@@ -10,7 +10,7 @@ config SH_RSK7201
10 10
11config SH_RSK7203 11config SH_RSK7203
12 bool "RSK7203" 12 bool "RSK7203"
13 select GENERIC_GPIO 13 select ARCH_REQUIRE_GPIOLIB
14 depends on CPU_SUBTYPE_SH7203 14 depends on CPU_SUBTYPE_SH7203
15 15
16endchoice 16endchoice