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: 6f9ed07fde ("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>
This commit is contained in:
Arnd Bergmann 2018-03-13 13:11:43 +01:00 committed by Jassi Brar
parent 6de84023d3
commit 85bd2de4f6

View File

@ -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