summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAubrey Li <aubrey.adi@gmail.com>2007-04-05 18:30:25 +0800
committerAubrey Li <aubrey.adi@gmail.com>2007-04-05 18:30:25 +0800
commit9fd437bbd75d282f899e1da50be20a2bf38450bc (patch)
tree210139b21f95392a29093805e87b8e141f3b4bd2 /net
parent889256e8604e0c68db1d866d720894dffede9df6 (diff)
downloadu-boot-imx-9fd437bbd75d282f899e1da50be20a2bf38450bc.zip
u-boot-imx-9fd437bbd75d282f899e1da50be20a2bf38450bc.tar.gz
u-boot-imx-9fd437bbd75d282f899e1da50be20a2bf38450bc.tar.bz2
[Blackfin][PATCH] Add BF537 EMAC driver initialization
Diffstat (limited to 'net')
-rw-r--r--net/eth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index cca9392..64923d9 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -55,6 +55,7 @@ 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);
+extern int bfin_EMAC_initialize(bd_t *);
static struct eth_device *eth_devices, *eth_current;
@@ -255,6 +256,9 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_RTL8169)
rtl8169_initialize(bis);
#endif
+#if defined(CONFIG_BF537)
+ bfin_EMAC_initialize(bis);
+#endif
if (!eth_devices) {
puts ("No ethernet found.\n");