mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 1/2] net: am65-cpsw-nuss: depends on DMA support
Date: Thu, 13 Mar 2025 10:54:41 +0100	[thread overview]
Message-ID: <20250313095442.2812937-1-s.hauer@pengutronix.de> (raw)

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




             reply	other threads:[~2025-03-13  9:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-13  9:54 Sascha Hauer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250313095442.2812937-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox