memory: tegra: depend on ARCH_TEGRA, not ARCH_TEGRA_*
Subsystems (2)
PATCH 1/1 memory: tegra: depend on ARCH_TEGRA, not ARCH_TEGRA_*
From: Stephen Warren <[email protected]>
I'm planning to remove CONFIG_ARCH_TEGRA_*_SOC, leaving just ARCH_TEGRA. This will reduce the number of configurations that need to be supported by core Tegra code, e.g. CPU idle, hotplug. As a precursor, we need to update Kconfig for all Tegra drivers not to reference ARCH_TEGRA_*_SOC.
--- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/memory/Kconfig +2 -2
@@ -33,7 +33,7 @@ config MVEBU_DEVBUS config TEGRA20_MC bool "Tegra20 Memory Controller(MC) driver" default y - depends on ARCH_TEGRA_2x_SOC + depends on ARCH_TEGRA help This driver is for the Memory Controller(MC) module available in Tegra20 SoCs, mainly for a address translation fault
@@ -43,7 +43,7 @@ config TEGRA20_MC config TEGRA30_MC bool "Tegra30 Memory Controller(MC) driver" default y - depends on ARCH_TEGRA_3x_SOC + depends on ARCH_TEGRA help This driver is for the Memory Controller(MC) module available in Tegra30 SoCs, mainly for a address translation fault
Signature · 1 line
1.8.1.5
PATCH 1/1 memory: tegra: depend on ARCH_TEGRA, not ARCH_TEGRA_*
Quoted 6 lines · Stephen Warren
From: Stephen Warren <[email protected]>
I'm planning to remove CONFIG_ARCH_TEGRA_*_SOC, leaving just
ARCH_TEGRA. This will reduce the number of configurations that need to be supported by core Tegra code, e.g. CPU idle, hotplug. As a precursor, we need to updateKconfigfor all Tegra drivers not to reference ARCH_TEGRA_*_SOC.
I'd like to defer actually applying this patch. There is some discussion (in the thread for the equivalent ASoC patches) re: the best way to handle the ARCH_TEGRA_*_SOC Kconfig options which might affect this patch. Any review comment is still appreciated.