diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-02-07 16:43:23 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-02-09 20:52:03 -0500 |
commit | 23c8c4b4e0ae21852e366206aa4981380b863799 (patch) | |
tree | 0c16aa5ea5193972b4f0c758628561d75302e458 | |
parent | d2ffb918f74bf6f596209491babde9df0c7fb4b8 (diff) |
ARM: tegra: enable ARCH_REQUIRE_GPIOLIB for Tegra114
CONFIG_ARCH_TEGRA_114_SOC doesn't currently enable gpiolib, which causes
numerous build problems building a Tegra kernel with only Tegra114
enabled, and not Tegra20 or Tegra30. Enable ARCH_REQUIRE_GPIOLIB to
solve this. However, all Tegra will use gpiolib, so select this option
from ARCH_TEGRA rather than each individual ARCH_TEGRA_*_SOC, to
prevent this problem for any future chips.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index eb9fc2f8acf1..25541a1971aa 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -640,6 +640,7 @@ config ARCH_LPC32XX | |||
640 | config ARCH_TEGRA | 640 | config ARCH_TEGRA |
641 | bool "NVIDIA Tegra" | 641 | bool "NVIDIA Tegra" |
642 | select ARCH_HAS_CPUFREQ | 642 | select ARCH_HAS_CPUFREQ |
643 | select ARCH_REQUIRE_GPIOLIB | ||
643 | select CLKDEV_LOOKUP | 644 | select CLKDEV_LOOKUP |
644 | select CLKSRC_MMIO | 645 | select CLKSRC_MMIO |
645 | select CLKSRC_OF | 646 | select CLKSRC_OF |
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index bde8197c8db8..86543241f5bb 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig | |||
@@ -5,7 +5,6 @@ comment "NVIDIA Tegra options" | |||
5 | config ARCH_TEGRA_2x_SOC | 5 | config ARCH_TEGRA_2x_SOC |
6 | bool "Enable support for Tegra20 family" | 6 | bool "Enable support for Tegra20 family" |
7 | select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP | 7 | select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP |
8 | select ARCH_REQUIRE_GPIOLIB | ||
9 | select ARM_ERRATA_720789 | 8 | select ARM_ERRATA_720789 |
10 | select ARM_ERRATA_742230 if SMP | 9 | select ARM_ERRATA_742230 if SMP |
11 | select ARM_ERRATA_751472 | 10 | select ARM_ERRATA_751472 |
@@ -27,7 +26,6 @@ config ARCH_TEGRA_2x_SOC | |||
27 | 26 | ||
28 | config ARCH_TEGRA_3x_SOC | 27 | config ARCH_TEGRA_3x_SOC |
29 | bool "Enable support for Tegra30 family" | 28 | bool "Enable support for Tegra30 family" |
30 | select ARCH_REQUIRE_GPIOLIB | ||
31 | select ARM_ERRATA_743622 | 29 | select ARM_ERRATA_743622 |
32 | select ARM_ERRATA_751472 | 30 | select ARM_ERRATA_751472 |
33 | select ARM_ERRATA_754322 | 31 | select ARM_ERRATA_754322 |