reset: tegra-bpmp: allow building under COMPILE_TEST

The Tegra BPMP reset driver can be compiled without TEGRA_BPMP being
enabled. Allow it to be built under COMPILE_TEST.

Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20240625-reset-compile-bpmp-v1-1-647e846303d8@pengutronix.de
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
Philipp Zabel 2024-06-25 14:51:41 +02:00
parent eb5d88b153
commit fd88137bfb
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ obj-y += core.o
obj-y += hisilicon/
obj-y += starfive/
obj-y += sti/
obj-$(CONFIG_ARCH_TEGRA) += tegra/
obj-y += tegra/
obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o
obj-$(CONFIG_RESET_ATH79) += reset-ath79.o
obj-$(CONFIG_RESET_AXS10X) += reset-axs10x.o

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
config RESET_TEGRA_BPMP
def_bool TEGRA_BPMP
bool "Tegra BPMP Reset Driver" if COMPILE_TEST
default TEGRA_BPMP