[U-Boot] [PATCH v3 9/9] net/designware: Reduce DMA burst length

Ian Campbell ijc at hellion.org.uk
Fri Apr 18 20:05:50 CEST 2014


From: Jens Kuske <jenskuske at gmail.com>

The GMAC module in Allwinner sunxi SoCs seems to have problems with
burst lengths > 8.

Signed-off-by: Jens Kuske <jenskuske at gmail.com>
Signed-off-by: Ian Campbell <ijc at hellion.org.uk>
Cc: Chen-Yu Tsai <wens at csie.org>
---
v3: New. cherry-picked from u-boot-sunxi.git tree.
---
 drivers/net/designware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index c45593b..6ece479 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -249,7 +249,7 @@ static int dw_eth_init(struct eth_device *dev, bd_t *bis)
 	rx_descs_init(dev);
 	tx_descs_init(dev);
 
-	writel(FIXEDBURST | PRIORXTX_41 | BURST_16, &dma_p->busmode);
+	writel(FIXEDBURST | PRIORXTX_41 | BURST_8, &dma_p->busmode);
 
 	writel(readl(&dma_p->opmode) | FLUSHTXFIFO | STOREFORWARD,
 	       &dma_p->opmode);
-- 
1.9.0



More information about the U-Boot mailing list