mailbox: tegra: relax TEGRA_HSP_MBOX Kconfig dependencies
PATCH 1/1 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.
--- drivers/mailbox/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mailbox/Kconfig +1 -1
@@ -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
Signature · 1 line
2.9.0
Quoted 4 lines · Arnd Bergmann
With the addition of the
ARCH_TEGRA_194_SOCdriver, we get a newKconfigwarning:warning: (
ARCH_TEGRA_186_SOC&&ARCH_TEGRA_194_SOC) selectsTEGRA_HSP_MBOXwhich has unmet direct dependencies (MAILBOX &&ARCH_TEGRA_186_SOC)
Quoted 8 lines
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 <[email protected]>--- drivers/mailbox/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The HSP does not exist on any chip prior to Tegra186, which is what the dependency reflects. However, I agree that there is little point for an exact list of per-chip dependencies. We don't really support non-multi- platform kernels anymore, or at least they don't get any testing, so relaxing the dependency is fine with me.
Thanks for fixing this,
Thierry