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:
Ben Warren
2008-07-11 23:42:19 -07:00
parent 914947313a
commit 65d3d99c28
2 changed files with 10 additions and 4 deletions

View File

@@ -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;
}