mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-23 15:11:42 +00:00
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:
parent
ad3381cf41
commit
8ca0b3f99c
14 changed files with 79 additions and 4 deletions
|
@ -42,6 +42,7 @@ int cpu_eth_init(bd_t *bis);
|
|||
|
||||
/* Driver initialization prototypes */
|
||||
int bfin_EMAC_initialize(bd_t *bis);
|
||||
int dc21x4x_initialize(bd_t *bis);
|
||||
int e1000_initialize(bd_t *bis);
|
||||
int eth_3com_initialize (bd_t * bis);
|
||||
int greth_initialize(bd_t *bis);
|
||||
|
@ -70,6 +71,9 @@ static inline int pci_eth_init(bd_t *bis)
|
|||
{
|
||||
int num = 0;
|
||||
|
||||
#ifdef CONFIG_TULIP
|
||||
num += dc21x4x_initialize(bis);
|
||||
#endif
|
||||
#ifdef CONFIG_E1000
|
||||
num += e1000_initialize(bis);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue