summaryrefslogtreecommitdiff
path: root/drivers/net/designware.h
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2014-03-21 16:16:57 +0400
committerTom Rini <trini@ti.com>2014-03-28 15:06:30 -0400
commita7b26dbb49139535992c6d4c282bcf258b3f7fa3 (patch)
tree7b47b181fd422c4fb8157f1aabc8240c4fa7d870 /drivers/net/designware.h
parent028d65fb9297cc2ad13022395b3da09f45b7668b (diff)
downloadu-boot-imx-a7b26dbb49139535992c6d4c282bcf258b3f7fa3.zip
u-boot-imx-a7b26dbb49139535992c6d4c282bcf258b3f7fa3.tar.gz
u-boot-imx-a7b26dbb49139535992c6d4c282bcf258b3f7fa3.tar.bz2
net/designware: align DMA buffer descriptors to D$ line
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 <abrodkin@synopsys.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Vipin Kumar <vipin.kumar@st.com> Cc: Stefan Roese <sr@denx.de> Cc: Shiraz Hashim <shiraz.hashim@st.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Amit Virdi <amit.virdi@st.com> Cc: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'drivers/net/designware.h')
-rw-r--r--drivers/net/designware.h2
1 files changed, 1 insertions, 1 deletions
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