]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
remoteproc: k3-r5: Add compile testing support
authorAndrew Davis <afd@ti.com>
Wed, 16 Oct 2024 16:41:41 +0000 (11:41 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 18 Oct 2024 15:59:21 +0000 (09:59 -0600)
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>
drivers/remoteproc/Kconfig

index 0ac1c8a6e458154ac6d5ca379bc2f96e4a582571..83962a114dc9fdb3260e6e922602f2da53106265 100644 (file)
@@ -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