aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2013-12-12 13:14:21 -0500
committerSimon Horman <horms+renesas@verge.net.au>2013-12-13 20:46:25 -0500
commit7e429989b68533ee3896c96264a1cce99b95d218 (patch)
tree2446ca9143e3437e6328234446ae0ddefa0c0f7a
parentaa9938644c63100219c252b9d330b95427082cef (diff)
ARM: shmobile: Add select MIGHT_HAVE_PCI for PCI-AHB bridge code
The PCI sub-system is not enabled by default on ARM and on certain Renesas devices the build does not select it. This means that there are configurations that do not allow the AHB-PCI bridge used for the USB sub-systems to be built. For the R8A7790, R8A7791 and EMEV-2 select MIGHT_HAVE_PCI to allow the PCI drivers to be built. Also select MIGHT_HAVE_PCI for the multi-config where there may be many Reneasas devices selected. Reviewed-by: Ian Molton <ian.molton@codethink.co.uk> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index aa9017bb750c..8a1364e076c9 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -12,6 +12,7 @@ config ARCH_SHMOBILE_MULTI
12 select HAVE_SMP 12 select HAVE_SMP
13 select ARM_GIC 13 select ARM_GIC
14 select MIGHT_HAVE_CACHE_L2X0 14 select MIGHT_HAVE_CACHE_L2X0
15 select MIGHT_HAVE_PCI
15 select NO_IOPORT 16 select NO_IOPORT
16 select PINCTRL 17 select PINCTRL
17 select ARCH_REQUIRE_GPIOLIB 18 select ARCH_REQUIRE_GPIOLIB
@@ -96,6 +97,7 @@ config ARCH_R8A7790
96 select ARCH_WANT_OPTIONAL_GPIOLIB 97 select ARCH_WANT_OPTIONAL_GPIOLIB
97 select ARM_GIC 98 select ARM_GIC
98 select CPU_V7 99 select CPU_V7
100 select MIGHT_HAVE_PCI
99 select SH_CLK_CPG 101 select SH_CLK_CPG
100 select RENESAS_IRQC 102 select RENESAS_IRQC
101 103
@@ -104,6 +106,7 @@ config ARCH_R8A7791
104 select ARCH_WANT_OPTIONAL_GPIOLIB 106 select ARCH_WANT_OPTIONAL_GPIOLIB
105 select ARM_GIC 107 select ARM_GIC
106 select CPU_V7 108 select CPU_V7
109 select MIGHT_HAVE_PCI
107 select SH_CLK_CPG 110 select SH_CLK_CPG
108 select RENESAS_IRQC 111 select RENESAS_IRQC
109 112
@@ -112,6 +115,7 @@ config ARCH_EMEV2
112 select ARCH_WANT_OPTIONAL_GPIOLIB 115 select ARCH_WANT_OPTIONAL_GPIOLIB
113 select ARM_GIC 116 select ARM_GIC
114 select CPU_V7 117 select CPU_V7
118 select MIGHT_HAVE_PCI
115 select USE_OF 119 select USE_OF
116 select AUTO_ZRELADDR 120 select AUTO_ZRELADDR
117 121