It's important to have ability to flush/invalidate each DMA buffer descriptor individually to prevent incoherency of adjacent BDs.
Signed-off-by: Alexey Brodkin <[email protected]> Cc: Vineet Gupta <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Vipin Kumar <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Shiraz Hashim <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Amit Virdi <[email protected]> Cc: Sonic Zhang <[email protected]> --- drivers/net/designware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/designware.h b/drivers/net/designware.h index afeacce..382b0c7 100644 --- a/drivers/net/designware.h +++ b/drivers/net/designware.h @@ -110,7 +110,7 @@ struct dmamacdescr { u32 dmamac_cntl; void *dmamac_addr; struct dmamacdescr *dmamac_next; -} __aligned(16); +} __aligned(ARCH_DMA_MINALIGN); /* * txrx_status definitions -- 1.8.5.3 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

