summaryrefslogtreecommitdiff
path: root/drivers/net/designware.h
diff options
context:
space:
mode:
authorVipin Kumar <vipin.kumar@st.com>2012-05-07 13:06:44 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:40 +0200
commit9afc1af01f2d4b033e0da5df105b399949976a12 (patch)
treef0df7ec6f543b2c6f2d0baad645cec5f96c2c289 /drivers/net/designware.h
parent8eb0ee6a649d09a41155bf6c9dbd4d531ed41f9e (diff)
downloadu-boot-imx-9afc1af01f2d4b033e0da5df105b399949976a12.zip
u-boot-imx-9afc1af01f2d4b033e0da5df105b399949976a12.tar.gz
u-boot-imx-9afc1af01f2d4b033e0da5df105b399949976a12.tar.bz2
SPEAr: Add interface information in initialization
Few Designware peripheral registers need to be modified based on the ethernet interface selected by the board. This patch supports interface information in ethernet driver Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/net/designware.h')
-rw-r--r--drivers/net/designware.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/designware.h b/drivers/net/designware.h
index abf729d..40020bf 100644
--- a/drivers/net/designware.h
+++ b/drivers/net/designware.h
@@ -234,6 +234,7 @@ struct dmamacdescr {
struct dw_eth_dev {
u32 address;
+ u32 interface;
u32 speed;
u32 duplex;
u32 tx_currdescnum;