Browse Source

mailbox: tegra: relax TEGRA_HSP_MBOX Kconfig dependencies

With the addition of the ARCH_TEGRA_194_SOC driver, we get a new Kconfig warning:

warning: (ARCH_TEGRA_186_SOC && ARCH_TEGRA_194_SOC) selects TEGRA_HSP_MBOX which has unmet direct dependencies (MAILBOX && ARCH_TEGRA_186_SOC)

It looks like the dependency is a bit too strict here, allowing the driver to
be built for any Tegra chip avoids the problem.

Fixes: 6f9ed07fde03 ("soc/tegra: Add Tegra194 SoC configuration option")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Arnd Bergmann 7 năm trước cách đây
mục cha
commit
85bd2de4f6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/mailbox/Kconfig

+ 1 - 1
drivers/mailbox/Kconfig

@@ -134,7 +134,7 @@ config QCOM_APCS_IPC
 
 
 config TEGRA_HSP_MBOX
 config TEGRA_HSP_MBOX
 	bool "Tegra HSP (Hardware Synchronization Primitives) Driver"
 	bool "Tegra HSP (Hardware Synchronization Primitives) Driver"
-	depends on ARCH_TEGRA_186_SOC
+	depends on ARCH_TEGRA
 	help
 	help
 	  The Tegra HSP driver is used for the interprocessor communication
 	  The Tegra HSP driver is used for the interprocessor communication
 	  between different remote processors and host processors on Tegra186
 	  between different remote processors and host processors on Tegra186