diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-08-06 16:38:51 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-08-08 13:45:13 -0400 |
commit | 20984c44b5a08620778ea14fa5807489170fd5ca (patch) | |
tree | 343ddd1396a6ea5f06444e8d008c54230c187c3f /arch/arm/mach-tegra | |
parent | 9c0c4b43b194521e2cbf7064fbe35b8ce9e42149 (diff) |
ARM: tegra: unify Tegra's Kconfig a bit more
Move all common select clauses from ARCH_TEGRA_*_SOC to ARCH_TEGRA to
eliminate duplication. The USB-related selects all should have been
common too, but were missing from Tegra114 previously. Move these to
ARCH_TEGRA too. The latter fixes a build break when only Tegra114
support was enabled, but not Tegra20 or Tegra30 support.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index add345e6a6bb..e963db273339 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig | |||
@@ -2,18 +2,24 @@ config ARCH_TEGRA | |||
2 | bool "NVIDIA Tegra" if ARCH_MULTI_V7 | 2 | bool "NVIDIA Tegra" if ARCH_MULTI_V7 |
3 | select ARCH_HAS_CPUFREQ | 3 | select ARCH_HAS_CPUFREQ |
4 | select ARCH_REQUIRE_GPIOLIB | 4 | select ARCH_REQUIRE_GPIOLIB |
5 | select ARM_GIC | ||
5 | select CLKDEV_LOOKUP | 6 | select CLKDEV_LOOKUP |
6 | select CLKSRC_MMIO | 7 | select CLKSRC_MMIO |
7 | select CLKSRC_OF | 8 | select CLKSRC_OF |
8 | select COMMON_CLK | 9 | select COMMON_CLK |
10 | select CPU_V7 | ||
9 | select GENERIC_CLOCKEVENTS | 11 | select GENERIC_CLOCKEVENTS |
10 | select HAVE_ARM_SCU if SMP | 12 | select HAVE_ARM_SCU if SMP |
11 | select HAVE_ARM_TWD if LOCAL_TIMERS | 13 | select HAVE_ARM_TWD if LOCAL_TIMERS |
12 | select HAVE_CLK | 14 | select HAVE_CLK |
13 | select HAVE_SMP | 15 | select HAVE_SMP |
14 | select MIGHT_HAVE_CACHE_L2X0 | 16 | select MIGHT_HAVE_CACHE_L2X0 |
17 | select PINCTRL | ||
15 | select SOC_BUS | 18 | select SOC_BUS |
16 | select SPARSE_IRQ | 19 | select SPARSE_IRQ |
20 | select USB_ARCH_HAS_EHCI if USB_SUPPORT | ||
21 | select USB_ULPI if USB_PHY | ||
22 | select USB_ULPI_VIEWPORT if USB_PHY | ||
17 | select USE_OF | 23 | select USE_OF |
18 | help | 24 | help |
19 | This enables support for NVIDIA Tegra based systems. | 25 | This enables support for NVIDIA Tegra based systems. |
@@ -27,15 +33,9 @@ config ARCH_TEGRA_2x_SOC | |||
27 | select ARM_ERRATA_720789 | 33 | select ARM_ERRATA_720789 |
28 | select ARM_ERRATA_754327 if SMP | 34 | select ARM_ERRATA_754327 if SMP |
29 | select ARM_ERRATA_764369 if SMP | 35 | select ARM_ERRATA_764369 if SMP |
30 | select ARM_GIC | ||
31 | select CPU_V7 | ||
32 | select PINCTRL | ||
33 | select PINCTRL_TEGRA20 | 36 | select PINCTRL_TEGRA20 |
34 | select PL310_ERRATA_727915 if CACHE_L2X0 | 37 | select PL310_ERRATA_727915 if CACHE_L2X0 |
35 | select PL310_ERRATA_769419 if CACHE_L2X0 | 38 | select PL310_ERRATA_769419 if CACHE_L2X0 |
36 | select USB_ARCH_HAS_EHCI if USB_SUPPORT | ||
37 | select USB_ULPI if USB_PHY | ||
38 | select USB_ULPI_VIEWPORT if USB_PHY | ||
39 | help | 39 | help |
40 | Support for NVIDIA Tegra AP20 and T20 processors, based on the | 40 | Support for NVIDIA Tegra AP20 and T20 processors, based on the |
41 | ARM CortexA9MP CPU and the ARM PL310 L2 cache controller | 41 | ARM CortexA9MP CPU and the ARM PL310 L2 cache controller |
@@ -44,14 +44,8 @@ config ARCH_TEGRA_3x_SOC | |||
44 | bool "Enable support for Tegra30 family" | 44 | bool "Enable support for Tegra30 family" |
45 | select ARM_ERRATA_754322 | 45 | select ARM_ERRATA_754322 |
46 | select ARM_ERRATA_764369 if SMP | 46 | select ARM_ERRATA_764369 if SMP |
47 | select ARM_GIC | ||
48 | select CPU_V7 | ||
49 | select PINCTRL | ||
50 | select PINCTRL_TEGRA30 | 47 | select PINCTRL_TEGRA30 |
51 | select PL310_ERRATA_769419 if CACHE_L2X0 | 48 | select PL310_ERRATA_769419 if CACHE_L2X0 |
52 | select USB_ARCH_HAS_EHCI if USB_SUPPORT | ||
53 | select USB_ULPI if USB_PHY | ||
54 | select USB_ULPI_VIEWPORT if USB_PHY | ||
55 | help | 49 | help |
56 | Support for NVIDIA Tegra T30 processor family, based on the | 50 | Support for NVIDIA Tegra T30 processor family, based on the |
57 | ARM CortexA9MP CPU and the ARM PL310 L2 cache controller | 51 | ARM CortexA9MP CPU and the ARM PL310 L2 cache controller |
@@ -60,10 +54,7 @@ config ARCH_TEGRA_114_SOC | |||
60 | bool "Enable support for Tegra114 family" | 54 | bool "Enable support for Tegra114 family" |
61 | select HAVE_ARM_ARCH_TIMER | 55 | select HAVE_ARM_ARCH_TIMER |
62 | select ARM_ERRATA_798181 | 56 | select ARM_ERRATA_798181 |
63 | select ARM_GIC | ||
64 | select ARM_L1_CACHE_SHIFT_6 | 57 | select ARM_L1_CACHE_SHIFT_6 |
65 | select CPU_V7 | ||
66 | select PINCTRL | ||
67 | select PINCTRL_TEGRA114 | 58 | select PINCTRL_TEGRA114 |
68 | help | 59 | help |
69 | Support for NVIDIA Tegra T114 processor family, based on the | 60 | Support for NVIDIA Tegra T114 processor family, based on the |