Skip to content

Commit 9a4199a

Browse files
committed
memory: tegra: Do not enable by default during compile testing
Enabling the compile test should not cause automatic enabling of all drivers. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 0c16b8f commit 9a4199a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/memory/tegra/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config TEGRA_MC
33
bool "NVIDIA Tegra Memory Controller support"
4-
default y
4+
default ARCH_TEGRA
55
depends on ARCH_TEGRA || (COMPILE_TEST && COMMON_CLK)
66
select INTERCONNECT
77
help
@@ -12,7 +12,7 @@ if TEGRA_MC
1212

1313
config TEGRA20_EMC
1414
tristate "NVIDIA Tegra20 External Memory Controller driver"
15-
default y
15+
default ARCH_TEGRA_2x_SOC
1616
depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
1717
select DEVFREQ_GOV_SIMPLE_ONDEMAND
1818
select PM_DEVFREQ
@@ -25,7 +25,7 @@ config TEGRA20_EMC
2525

2626
config TEGRA30_EMC
2727
tristate "NVIDIA Tegra30 External Memory Controller driver"
28-
default y
28+
default ARCH_TEGRA_3x_SOC
2929
depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
3030
select PM_OPP
3131
select DDR
@@ -37,7 +37,7 @@ config TEGRA30_EMC
3737

3838
config TEGRA124_EMC
3939
tristate "NVIDIA Tegra124 External Memory Controller driver"
40-
default y
40+
default ARCH_TEGRA_124_SOC
4141
depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
4242
select TEGRA124_CLK_EMC if ARCH_TEGRA
4343
select PM_OPP

0 commit comments

Comments
 (0)