mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support
@ 2025-03-13  9:54 Sascha Hauer
  2025-03-13  9:54 ` [PATCH 2/2] ARM: multi_v8_defconfig: enable k3 drivers Sascha Hauer
  2025-03-14 16:13 ` [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2025-03-13  9:54 UTC (permalink / raw)
  To: Barebox List

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@pengutronix.de>
---
 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-14 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-13  9:54 [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer
2025-03-13  9:54 ` [PATCH 2/2] ARM: multi_v8_defconfig: enable k3 drivers Sascha Hauer
2025-03-14 16:13 ` [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox