[PATCHv2] dmaengine: bestcomm: Enable compile testing

From: Rosen Penev

Date: Fri Sep 18 2026 - 14:11:48 EST


Allow the BestComm DMA engine to be selected for PowerPC
compile-test builds.

The freescale ethernet and sound drivers now need a dependency on
PPC_MPC52xx as they use headers/functions from that platform.

Assisted-by: LLM
Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
---
v2: keep it bestcomm only
drivers/dma/bestcomm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion1(-)

diff --git a/drivers/dma/bestcomm/Kconfig b/drivers/dma/bestcomm/Kconfig
index 5dd437295964..153b5492c93c 100644
--- a/drivers/dma/bestcomm/Kconfig
+++ b/drivers/dma/bestcomm/Kconfig
@@ -5,7 +5,7 @@

config PPC_BESTCOMM
tristate "Bestcomm DMA engine support"
- depends on PPC_MPC52xx
+ depends on PPC_MPC52xx || (PPC && COMPILE_TEST)
default n
select PPC_LIB_RHEAP
help
--
2.55.0