The am65-cpsw-nuss needs DMA functions provided by CONFIG_DMADEVICES, so we must depend on this option to avoid linker errors. As the am65-cpsw-nuss is useless without the DMA hardware driver depend on CONFIG_TI_K3_UDMA instead which implies CONFIG_DMADEVICES. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 5c436a05cc..0099845096 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -68,6 +68,7 @@ config DRIVER_NET_DAVINCI_EMAC config DRIVER_NET_TI_K3_AM65_CPSW_NUSS bool "TI K3 AM654x/J721E CPSW Ethernet driver" depends on ARCH_K3 || COMPILE_TEST + depends on TI_K3_UDMA select DRIVER_NET_TI_DAVINCI_MDIO select PHYLIB help -- 2.39.5