mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-23 07:01:38 +00:00
Moved initialization of GRETH Ethernet driver to CPU directory
Added a cpu_eth_init() function to leon2/leon3 CPU directories and removed code from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
86882b8077
commit
fc363ce354
4 changed files with 18 additions and 5 deletions
|
@ -69,7 +69,6 @@ extern int uli526x_initialize(bd_t *);
|
|||
extern int npe_initialize(bd_t *);
|
||||
extern int uec_initialize(int);
|
||||
extern int bfin_EMAC_initialize(bd_t *);
|
||||
extern int greth_initialize(bd_t *);
|
||||
extern int at91sam9_eth_initialize(bd_t *);
|
||||
|
||||
#ifdef CONFIG_API
|
||||
|
@ -267,9 +266,6 @@ int eth_initialize(bd_t *bis)
|
|||
#if defined(CONFIG_BF537)
|
||||
bfin_EMAC_initialize(bis);
|
||||
#endif
|
||||
#if defined(CONFIG_GRETH)
|
||||
greth_initialize(bis);
|
||||
#endif
|
||||
#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260) || \
|
||||
defined(CONFIG_AT91SAM9263)
|
||||
at91sam9_eth_initialize(bis);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue