Commit 7f81907b authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman
Browse files

cdx: Enable compile testing



There is no code limited to ARM64 or OF/Devicetree in the CDX bus
driver, so CDX_BUS can be compile tested on all platforms.
CDX_CONTROLLER on the other hand selects REMOTEPROC which depends on
HAS_DMA, so add that dependency for compile testing.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarNikhil Agarwal <nikhil.agarwal@amd.com>
Link: https://lore.kernel.org/r/20250502-cdx-clean-v3-1-6aaa5b369fc5@linaro.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 421d3a86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

config CDX_BUS
	bool "CDX Bus driver"
	depends on OF && ARM64
	depends on OF && ARM64 || COMPILE_TEST
	help
	  Driver to enable Composable DMA Transfer(CDX) Bus. CDX bus
	  exposes Fabric devices which uses composable DMA IP to the
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ if CDX_BUS

config CDX_CONTROLLER
	tristate "CDX bus controller"
	depends on HAS_DMA
	select GENERIC_MSI_IRQ
	select REMOTEPROC
	select RPMSG