summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/Kconfig
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-09-01 08:56:31 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:41 -0800
commit0378767eda01b220f12ed5df7ed8ce9f25b9f200 (patch)
treea958a05150631785086a9083e97ccc819bc2504f /arch/arm/mach-tegra/Kconfig
parent52191889db113c3d07713e6fed4e97b0c2cd867b (diff)
ARM: tegra: Add SOC architectural capabilities
Add architectural capabilities the at are selected by the top-level architecture type rather than deriving this knowledge directly from the top-level type in the code. Change-Id: I1c1e5d986a65301cf2e474d866f01e4f8c2a5505 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/50298 Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R118b523b4c6cac8f4f530f01a1d14ed961d5a085
Diffstat (limited to 'arch/arm/mach-tegra/Kconfig')
-rw-r--r--arch/arm/mach-tegra/Kconfig21
1 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 0cb16bda4b85..4e751cce8044 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -6,6 +6,7 @@ config ARCH_TEGRA_2x_SOC
bool "Tegra 2 family SOC"
default y
depends on !ARCH_TEGRA_3x_SOC
+ select ARCH_TEGRA_HAS_PCIE
select CPU_V7
select ARM_GIC
select ARCH_REQUIRE_GPIOLIB
@@ -22,11 +23,14 @@ config ARCH_TEGRA_2x_SOC
config ARCH_TEGRA_3x_SOC
bool "Tegra 3 family SOC"
+ select ARCH_TEGRA_HAS_PCIE
+ select ARCH_TEGRA_HAS_SATA
+ select ARCH_TEGRA_HAS_DUAL_3D
+ select ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
select CPU_V7
select ARM_GIC
select ARCH_REQUIRE_GPIOLIB
select TEGRA_IOVMM
- select TEGRA_CLUSTER_CONTROL if PM_SLEEP
select USB_ARCH_HAS_EHCI if USB_SUPPORT
select USB_EHCI_TEGRA if USB_SUPPORT
select USB_ULPI if USB_SUPPORT
@@ -36,9 +40,22 @@ config ARCH_TEGRA_3x_SOC
Support for NVIDIA Tegra 3 family of SoCs, based upon the
ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
+config ARCH_TEGRA_HAS_DUAL_3D
+ bool
+
+config ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
+ bool
+
+config ARCH_TEGRA_HAS_PCIE
+ bool
+
+config ARCH_TEGRA_HAS_SATA
+ bool
+
config TEGRA_PCI
bool "PCI Express support"
select PCI
+ depends on ARCH_TEGRA_HAS_PCIE
comment "Tegra board type"
@@ -286,6 +303,8 @@ config TEGRA_CLOCK_DEBUG_WRITE
config TEGRA_CLUSTER_CONTROL
bool
+ depends on ARCH_TEGRA_HAS_DUAL_CPU_CLUSTERS
+ default y if PM_SLEEP
config TEGRA_AUTO_HOTPLUG
bool "Enable automatic CPU hot-plugging"