summaryrefslogtreecommitdiff
path: root/drivers/net/designware.h
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2015-01-29 13:37:31 +0800
committerTom Rini <trini@konsulko.com>2015-03-05 11:17:53 -0500
commit2ddaf13bd28d9d9450831e84e30d617d2f49f1bd (patch)
treecfa3b345ceffe65c5859f5c32cd4c7e422383a28 /drivers/net/designware.h
parenta32ab4d910b86c83a6dee557eed68298b7e9b361 (diff)
downloadu-boot-2ddaf13bd28d9d9450831e84e30d617d2f49f1bd.tar.gz
net: configure DWMAC DMA by default AXI burst length
Board can define its own AXI burst length to improve DWMAC DMA performance. v2-changes: - Avoid write burst len register when the Macro is not defined. v3-changes: - Add axi_bus register member to struct eth_dma_regs. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/designware.h')
-rw-r--r--drivers/net/designware.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/designware.h b/drivers/net/designware.h
index ce51102052..49d900cb3f 100644
--- a/drivers/net/designware.h
+++ b/drivers/net/designware.h
@@ -68,7 +68,9 @@ struct eth_dma_regs {
u32 status; /* 0x14 */
u32 opmode; /* 0x18 */
u32 intenable; /* 0x1c */
- u8 reserved[40];
+ u32 reserved1[2];
+ u32 axibus; /* 0x28 */
+ u32 reserved2[7];
u32 currhosttxdesc; /* 0x48 */
u32 currhostrxdesc; /* 0x4c */
u32 currhosttxbuffaddr; /* 0x50 */