Skip to content

Commit 0db357e

Browse files
glneomathieupoirier
authored andcommitted
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>
1 parent 9c12b96 commit 0db357e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/remoteproc/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ config STM32_RPROC
329329

330330
config TI_K3_DSP_REMOTEPROC
331331
tristate "TI K3 DSP remoteproc support"
332-
depends on ARCH_K3
332+
depends on ARCH_K3 || COMPILE_TEST
333+
depends on TI_SCI_PROTOCOL || (COMPILE_TEST && TI_SCI_PROTOCOL=n)
333334
depends on OMAP2PLUS_MBOX
334335
help
335336
Say m here to support TI's C66x and C71x DSP remote processor

0 commit comments

Comments
 (0)