Moved initialization of TULIP Ethernet controller to board_eth_init()
Affected boards: cu824 bab7xx adciop dasa_sim mousse mpc8540eval musenki mvblue pcippc2/pcippc6 sbc8240 stxssa Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
@@ -40,7 +40,6 @@ int cpu_eth_init(bd_t *bis) __attribute((weak, alias("__def_eth_init")));
|
||||
int board_eth_init(bd_t *bis) __attribute((weak, alias("__def_eth_init")));
|
||||
|
||||
extern int au1x00_enet_initialize(bd_t*);
|
||||
extern int dc21x4x_initialize(bd_t*);
|
||||
extern int eepro100_initialize(bd_t*);
|
||||
extern int fec_initialize(bd_t*);
|
||||
extern int mpc8220_fec_initialize(bd_t*);
|
||||
@@ -194,9 +193,6 @@ int eth_initialize(bd_t *bis)
|
||||
#endif
|
||||
#ifdef CONFIG_EEPRO100
|
||||
eepro100_initialize(bis);
|
||||
#endif
|
||||
#ifdef CONFIG_TULIP
|
||||
dc21x4x_initialize(bis);
|
||||
#endif
|
||||
if (!eth_devices) {
|
||||
puts ("No ethernet found.\n");
|
||||
|
||||
Reference in New Issue
Block a user