summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Brodkin <[email protected]>2014-03-21 16:16:57 +0400
committerTom Rini <[email protected]>2014-03-28 15:06:30 -0400
commita7b26dbb49139535992c6d4c282bcf258b3f7fa3 (patch)
tree7b47b181fd422c4fb8157f1aabc8240c4fa7d870
parent028d65fb9297cc2ad13022395b3da09f45b7668b (diff)
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 <[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]>
-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 afeaccec19a..382b0c7f0a6 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