From: Aubrey Li Date: Thu, 5 Apr 2007 10:30:25 +0000 (+0800) Subject: [Blackfin][PATCH] Add BF537 EMAC driver initialization X-Git-Tag: v1.3.0-rc1~112^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9fd437bbd75d282f899e1da50be20a2bf38450bc;p=oweals%2Fu-boot.git [Blackfin][PATCH] Add BF537 EMAC driver initialization --- diff --git a/net/eth.c b/net/eth.c index cca9392059..64923d99bf 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");