summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2024-10-16 18:41:41 +0200
committerMathieu Poirier <mathieu.poirier@linaro.org>2024-10-18 17:59:21 +0200
commitbe3e6529a8b90b1284a55117a4e23095ccbeaeaf (patch)
treea28cab2f073b2c80b29905be2974c453eba79826 /drivers/remoteproc
parentremoteproc: k3-dsp: Add compile testing support (diff)
downloadlinux-be3e6529a8b90b1284a55117a4e23095ccbeaeaf.tar.xz
linux-be3e6529a8b90b1284a55117a4e23095ccbeaeaf.zip
remoteproc: k3-r5: Add compile testing support
This driver can be compile tested on non-K3 architectures as long as TI_SCI_PROTOCOL is not compiled as a module. Enable this here to improve this driver's build coverage. Signed-off-by: Andrew Davis <afd@ti.com> Link: https://lore.kernel.org/r/20241016164141.93401-3-afd@ti.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
index 0ac1c8a6e458..83962a114dc9 100644
--- a/drivers/remoteproc/Kconfig
+++ b/drivers/remoteproc/Kconfig
@@ -355,7 +355,8 @@ config TI_K3_M4_REMOTEPROC
config TI_K3_R5_REMOTEPROC
tristate "TI K3 R5 remoteproc support"
- depends on ARCH_K3
+ depends on ARCH_K3 || COMPILE_TEST
+ depends on TI_SCI_PROTOCOL || (COMPILE_TEST && TI_SCI_PROTOCOL=n)
depends on OMAP2PLUS_MBOX
help
Say m here to support TI's R5F remote processor subsystems