]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mailbox: tegra: relax TEGRA_HSP_MBOX Kconfig dependencies
authorArnd Bergmann <arnd@arndb.de>
Tue, 13 Mar 2018 12:11:43 +0000 (13:11 +0100)
committerJassi Brar <jaswinder.singh@linaro.org>
Thu, 15 Mar 2018 15:54:30 +0000 (21:24 +0530)
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>
drivers/mailbox/Kconfig

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