Skip to content

Commit be3e652

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

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
@@ -355,7 +355,8 @@ config TI_K3_M4_REMOTEPROC
355355

356356
config TI_K3_R5_REMOTEPROC
357357
tristate "TI K3 R5 remoteproc support"
358-
depends on ARCH_K3
358+
depends on ARCH_K3 || COMPILE_TEST
359+
depends on TI_SCI_PROTOCOL || (COMPILE_TEST && TI_SCI_PROTOCOL=n)
359360
depends on OMAP2PLUS_MBOX
360361
help
361362
Say m here to support TI's R5F remote processor subsystems

0 commit comments

Comments
 (0)