Re: [PATCHv2] dmaengine: bestcomm: Enable compile testing
From: Frank Li
Date: Fri Sep 18 2026 - 15:41:28 EST
On Fri, Sep 18, 2026 at 10:59:50AM -0700, Rosen Penev wrote:
> 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>
> ---
Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> 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
>