summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorRoy Zang <tie-fei.zang@freescale.com>2007-11-05 17:39:24 +0800
committerBen Warren <bwarren@qstreams.com>2007-11-06 10:26:39 -0500
commit1f103105a3746ab12279b63b8c1d372c0ce2cc58 (patch)
treea0713f2d5e6732283ca1491f1b08a42c5858f173 /net/eth.c
parent71bc6e6474fea8ef481b9b45d1edd7ad1f6dfbbd (diff)
downloadu-boot-imx-1f103105a3746ab12279b63b8c1d372c0ce2cc58.zip
u-boot-imx-1f103105a3746ab12279b63b8c1d372c0ce2cc58.tar.gz
u-boot-imx-1f103105a3746ab12279b63b8c1d372c0ce2cc58.tar.bz2
Implement general ULi 526x Ethernet driver support in U-boot
This patch implements general ULi 526x Ethernet driver. Until now, it is the only native Ethernet port on MPC8610HPCD board, but it could be used on other boards with ULi 526x Ethernet port as well. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Zhang Wei <wei.zhang@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com> Signed-off-by: Ben Warren <bwarren@qstreams.com>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index e7f1220..1b56a35 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -54,6 +54,7 @@ extern int rtl8169_initialize(bd_t*);
extern int scc_initialize(bd_t*);
extern int skge_initialize(bd_t*);
extern int tsi108_eth_initialize(bd_t*);
+extern int uli526x_initialize(bd_t *);
extern int tsec_initialize(bd_t*, int, char *);
extern int npe_initialize(bd_t *);
extern int uec_initialize(int);
@@ -238,6 +239,9 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_TSI108_ETH)
tsi108_eth_initialize(bis);
#endif
+#if defined(CONFIG_ULI526X)
+ uli526x_initialize(bis);
+#endif
#if defined(CONFIG_RTL8139)
rtl8139_initialize(bis);
#endif