mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
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]>
This commit is contained in:
1 parent
19272b37aa
commit
78eb18020a
1 file changed
+3
-2
@@ -2,7 +2,7 @@
|
||||
menu "Tegra firmware driver"
|
||||
|
||||
config TEGRA_IVC
|
||||
bool "Tegra IVC protocol"
|
||||
bool "Tegra IVC protocol" if COMPILE_TEST
|
||||
depends on ARCH_TEGRA
|
||||
help
|
||||
IVC (Inter-VM Communication) protocol is part of the IPC
|
||||
@@ -13,8 +13,9 @@ config TEGRA_IVC
|
||||
|
||||
config TEGRA_BPMP
|
||||
bool "Tegra BPMP driver"
|
||||
depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC
|
||||
depends on ARCH_TEGRA && TEGRA_HSP_MBOX
|
||||
depends on !CPU_BIG_ENDIAN
|
||||
select TEGRA_IVC
|
||||
help
|
||||
BPMP (Boot and Power Management Processor) is designed to off-loading
|
||||
the PM functions which include clock/DVFS/thermal/power from the CPU.
|
||||
|
||||
Reference in new issue
Block a user