Skip to content

Commit 78eb180

Browse files
committed
firmware: tegra: Fix IVC dependency problems
The IVC code is library code that other drivers need to select if they need that library. However, if the symbol is user-selectable this can lead to conflicts. Fix this by making the symbol only selectable for COMPILE_TEST and add a select TEGRA_IVC to TEGRA_BPMP, which is currently the only user. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thierry Reding <[email protected]>
1 parent 19272b3 commit 78eb180

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/firmware/tegra/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
menu "Tegra firmware driver"
33

44
config TEGRA_IVC
5-
bool "Tegra IVC protocol"
5+
bool "Tegra IVC protocol" if COMPILE_TEST
66
depends on ARCH_TEGRA
77
help
88
IVC (Inter-VM Communication) protocol is part of the IPC
@@ -13,8 +13,9 @@ config TEGRA_IVC
1313

1414
config TEGRA_BPMP
1515
bool "Tegra BPMP driver"
16-
depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC
16+
depends on ARCH_TEGRA && TEGRA_HSP_MBOX
1717
depends on !CPU_BIG_ENDIAN
18+
select TEGRA_IVC
1819
help
1920
BPMP (Boot and Power Management Processor) is designed to off-loading
2021
the PM functions which include clock/DVFS/thermal/power from the CPU.

0 commit comments

Comments
 (0)