summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2006-12-01 20:02:30 +0100
committerStefan Roese <sr@denx.de>2006-12-01 20:02:30 +0100
commit701f649aa304e547639fb8bbfdfec0753e9b3b9a (patch)
treecf491729e5ca4a222a7fd7fe7205e5157de05f77 /net/eth.c
parent5c97aeb8d8b780b10a1cb0beaca196c009f5a62a (diff)
parentdd520bf314c7add4183c5191692180f576f96b60 (diff)
downloadu-boot-imx-701f649aa304e547639fb8bbfdfec0753e9b3b9a.zip
u-boot-imx-701f649aa304e547639fb8bbfdfec0753e9b3b9a.tar.gz
u-boot-imx-701f649aa304e547639fb8bbfdfec0753e9b3b9a.tar.bz2
Merge with git+ssh://sr@pollux.denx.org/home/sr/git/u-boot/denx/.git
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 1e6a1c9..cca9392 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -54,6 +54,7 @@ extern int scc_initialize(bd_t*);
extern int skge_initialize(bd_t*);
extern int tsec_initialize(bd_t*, int, char *);
extern int npe_initialize(bd_t *);
+extern int uec_initialize(int);
static struct eth_device *eth_devices, *eth_current;
@@ -193,6 +194,12 @@ int eth_initialize(bd_t *bis)
tsec_initialize(bis, 3, CONFIG_MPC83XX_TSEC4_NAME);
# endif
#endif
+#if defined(CONFIG_UEC_ETH1)
+ uec_initialize(0);
+#endif
+#if defined(CONFIG_UEC_ETH2)
+ uec_initialize(1);
+#endif
#if defined(CONFIG_MPC86XX_TSEC1)
tsec_initialize(bis, 0, CONFIG_MPC86XX_TSEC1_NAME);
#endif