Commit ece67f47 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Thierry Reding
Browse files

soc/tegra: Make ARCH_TEGRA_SOC_FOO defaults for NVIDIA Tegra



By convention, only one globally selectable ARCH_PLATFORM is expected
for given SoC platform, defined in arch/arm64/Kconfig.platforms or
arch/arm/mach-*/Kconfig, because we target a single multi-platform
kernel image.

Platforms wanting different granularity, e.g. due to size constraints on
their devices, should be sure that globally only one ARCH_PLATFORM is
selected in defconfig.  Change Tegra per-SoC Kconfig entries to default
to ARCH_TEGRA allowing removal of these per-SoC parts from defconfigs.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: default avatarLinus Walleij <linusw@kernel.org>
[treding@nvidia.com: Fix ARCH_PLATFORM typo, correct spelling]
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 6de23f81
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ if ARM

config ARCH_TEGRA_2x_SOC
	bool "Enable support for Tegra20 family"
	default ARCH_TEGRA
	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
	select ARM_ERRATA_720789
	select ARM_ERRATA_754327 if SMP
@@ -23,6 +24,7 @@ config ARCH_TEGRA_2x_SOC

config ARCH_TEGRA_3x_SOC
	bool "Enable support for Tegra30 family"
	default ARCH_TEGRA
	select ARM_ERRATA_754322
	select ARM_ERRATA_764369 if SMP
	select PINCTRL_TEGRA30
@@ -37,6 +39,7 @@ config ARCH_TEGRA_3x_SOC

config ARCH_TEGRA_114_SOC
	bool "Enable support for Tegra114 family"
	default ARCH_TEGRA
	select ARM_ERRATA_798181 if SMP
	select HAVE_ARM_ARCH_TIMER
	select PINCTRL_TEGRA114
@@ -49,6 +52,7 @@ config ARCH_TEGRA_114_SOC

config ARCH_TEGRA_124_SOC
	bool "Enable support for Tegra124 family"
	default ARCH_TEGRA
	select HAVE_ARM_ARCH_TIMER
	select PINCTRL_TEGRA124
	select SOC_TEGRA_FLOWCTRL
@@ -65,6 +69,7 @@ if ARM64

config ARCH_TEGRA_132_SOC
	bool "NVIDIA Tegra132 SoC"
	default ARCH_TEGRA
	select PINCTRL_TEGRA124
	select SOC_TEGRA_FLOWCTRL
	select SOC_TEGRA_PMC
@@ -76,6 +81,7 @@ config ARCH_TEGRA_132_SOC

config ARCH_TEGRA_210_SOC
	bool "NVIDIA Tegra210 SoC"
	default ARCH_TEGRA
	select PINCTRL_TEGRA210
	select SOC_TEGRA_FLOWCTRL
	select SOC_TEGRA_PMC
@@ -95,6 +101,7 @@ config ARCH_TEGRA_210_SOC

config ARCH_TEGRA_186_SOC
	bool "NVIDIA Tegra186 SoC"
	default ARCH_TEGRA
	depends on !CPU_BIG_ENDIAN
	select PINCTRL_TEGRA186
	select MAILBOX
@@ -109,6 +116,7 @@ config ARCH_TEGRA_186_SOC

config ARCH_TEGRA_194_SOC
	bool "NVIDIA Tegra194 SoC"
	default ARCH_TEGRA
	depends on !CPU_BIG_ENDIAN
	select MAILBOX
	select PINCTRL_TEGRA194
@@ -118,6 +126,7 @@ config ARCH_TEGRA_194_SOC

config ARCH_TEGRA_234_SOC
	bool "NVIDIA Tegra234 SoC"
	default ARCH_TEGRA
	depends on !CPU_BIG_ENDIAN
	select MAILBOX
	select PINCTRL_TEGRA234
@@ -127,11 +136,13 @@ config ARCH_TEGRA_234_SOC

config ARCH_TEGRA_241_SOC
	bool "NVIDIA Tegra241 SoC"
	default ARCH_TEGRA
	help
	  Enable support for the NVIDIA Tegra241 SoC.

config ARCH_TEGRA_264_SOC
	bool "NVIDIA Tegra264 SoC"
	default ARCH_TEGRA
	depends on !CPU_BIG_ENDIAN
	select MAILBOX
	select SOC_TEGRA_PMC