Moved initialization of ULI526X Ethernet driver to board code.
The only board using this driver is the Freescale MPC8610HPCD board. Removed initialization for the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
@@ -519,3 +519,13 @@ get_board_sys_clk(ulong dummy)
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
extern int uli526x_initialize(bd_t *);
|
||||
|
||||
int board_eth_init(bd_t *bis)
|
||||
{
|
||||
#if defined(CONFIG_ULI526)
|
||||
uli526x_initialize(bis);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user