mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
[Blackfin][PATCH] Add BF537 EMAC driver initialization
This commit is contained in:
parent
889256e860
commit
9fd437bbd7
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,7 @@ extern int skge_initialize(bd_t*);
|
||||||
extern int tsec_initialize(bd_t*, int, char *);
|
extern int tsec_initialize(bd_t*, int, char *);
|
||||||
extern int npe_initialize(bd_t *);
|
extern int npe_initialize(bd_t *);
|
||||||
extern int uec_initialize(int);
|
extern int uec_initialize(int);
|
||||||
|
extern int bfin_EMAC_initialize(bd_t *);
|
||||||
|
|
||||||
static struct eth_device *eth_devices, *eth_current;
|
static struct eth_device *eth_devices, *eth_current;
|
||||||
|
|
||||||
|
@ -255,6 +256,9 @@ int eth_initialize(bd_t *bis)
|
||||||
#if defined(CONFIG_RTL8169)
|
#if defined(CONFIG_RTL8169)
|
||||||
rtl8169_initialize(bis);
|
rtl8169_initialize(bis);
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(CONFIG_BF537)
|
||||||
|
bfin_EMAC_initialize(bis);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!eth_devices) {
|
if (!eth_devices) {
|
||||||
puts ("No ethernet found.\n");
|
puts ("No ethernet found.\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue