mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-03 19:53:03 +08:00
net: Move initialization of Au1x00 SoC ethernet MAC to cpu_eth_init
This patch will move au1x00_eth_initialize from net/eth.c to cpu_eth_init as a part of ongoing eth_initialize cleanup work. The function ret value is also fixed as it should be negative on fail. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
committed by
Ben Warren
parent
cc94074eca
commit
5dfb3ee3f5
@@ -41,6 +41,7 @@ int board_eth_init(bd_t *bis);
|
||||
int cpu_eth_init(bd_t *bis);
|
||||
|
||||
/* Driver initialization prototypes */
|
||||
int au1x00_enet_initialize(bd_t*);
|
||||
int bfin_EMAC_initialize(bd_t *bis);
|
||||
int dc21x4x_initialize(bd_t *bis);
|
||||
int e1000_initialize(bd_t *bis);
|
||||
|
||||
Reference in New Issue
Block a user