summaryrefslogtreecommitdiff
path: root/include/configs/bf518f-ezbrd.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-29 18:00:16 -0400
committerMike Frysinger <vapier@gentoo.org>2010-07-13 17:50:50 -0400
commit0c929426f8239f4cdf8a4f418596261353bfb455 (patch)
tree4442d351d2c6d353ca7e86860756387df7e7ebee /include/configs/bf518f-ezbrd.h
parent9280c3f106968a44ba5721c72eba54db63704b2f (diff)
downloadu-boot-imx-0c929426f8239f4cdf8a4f418596261353bfb455.zip
u-boot-imx-0c929426f8239f4cdf8a4f418596261353bfb455.tar.gz
u-boot-imx-0c929426f8239f4cdf8a4f418596261353bfb455.tar.bz2
Blackfin: bf518f-ezbrd: handle different PHYs dynamically
The original BF518F-EZBRD's have a Micrel KSZ8893 DSA on them, but newer ones only have a National PHY (which lack a RX Error interrupt line). So in the board eth init code, dynamically detect what is hooked up to the MAC and handle each accordingly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/configs/bf518f-ezbrd.h')
-rw-r--r--include/configs/bf518f-ezbrd.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/configs/bf518f-ezbrd.h b/include/configs/bf518f-ezbrd.h
index 1e821d9..7d20b66 100644
--- a/include/configs/bf518f-ezbrd.h
+++ b/include/configs/bf518f-ezbrd.h
@@ -63,6 +63,26 @@
#if !defined(__ADSPBF512__) && !defined(__ADSPBF514__)
#define ADI_CMDS_NETWORK 1
#define CONFIG_BFIN_MAC
+#define CONFIG_BFIN_MAC_PINS \
+ { \
+ P_MII0_ETxD0, \
+ P_MII0_ETxD1, \
+ P_MII0_ETxD2, \
+ P_MII0_ETxD3, \
+ P_MII0_ETxEN, \
+ P_MII0_TxCLK, \
+ P_MII0_PHYINT, \
+ P_MII0_COL, \
+ P_MII0_ERxD0, \
+ P_MII0_ERxD1, \
+ P_MII0_ERxD2, \
+ P_MII0_ERxD3, \
+ P_MII0_ERxDV, \
+ P_MII0_ERxCLK, \
+ P_MII0_CRS, \
+ P_MII0_MDC, \
+ P_MII0_MDIO, \
+ 0 }
#define CONFIG_NETCONSOLE 1
#define CONFIG_NET_MULTI 1
#endif