aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>2024-04-26 10:02:27 +0200
committerTom Rini <trini@konsulko.com>2024-05-15 10:46:47 -0600
commite563593d6e3759519cb1b1493e67e032109c8cae (patch)
treeb16e0656753d3441524b1b71fe823fc9756d777d
parentb079bd9e294b64c86dd2b4520de027bc9042a8dc (diff)
downloadu-boot-e563593d6e3759519cb1b1493e67e032109c8cae.zip
u-boot-e563593d6e3759519cb1b1493e67e032109c8cae.tar.gz
u-boot-e563593d6e3759519cb1b1493e67e032109c8cae.tar.bz2
dma: ti: k3-udma: add missing <net.h> include
net.h is needed for PKTBUFSRX. Without this definition, the driver will always use 4 RX buffers, causing am65-cpsw-nuss initialization to fail when a higher number of buffers is requested. Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
-rw-r--r--drivers/dma/ti/k3-udma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c
index 8e11d81..e92ede5 100644
--- a/drivers/dma/ti/k3-udma.c
+++ b/drivers/dma/ti/k3-udma.c
@@ -11,6 +11,7 @@
#include <asm/io.h>
#include <asm/bitops.h>
#include <malloc.h>
+#include <net.h>
#include <linux/bitops.h>
#include <linux/dma-mapping.h>
#include <linux/sizes.h>