summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2024-10-16 19:41:40 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2024-10-18 18:59:21 +0300
commit0db357ef93281606936459de6fd9ee7cd2c14593 (patch)
tree410b405c45d697c112e797973e143d7a8689e4d8
parent9c12b96ee244b9679629ac430c375a720bfec04b (diff)
downloadlinux-0db357ef93281606936459de6fd9ee7cd2c14593.tar.xz
remoteproc: k3-dsp: 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-2-afd@ti.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--drivers/remoteproc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
index 62f8548fb46a..0ac1c8a6e458 100644
--- a/drivers/remoteproc/Kconfig
+++ b/drivers/remoteproc/Kconfig
@@ -329,7 +329,8 @@ config STM32_RPROC
config TI_K3_DSP_REMOTEPROC
tristate "TI K3 DSP 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 C66x and C71x DSP remote processor