From 65d3d99c28dc363d15eaee78225ff643df499b97 Mon Sep 17 00:00:00 2001 From: Ben Warren Date: Fri, 11 Jul 2008 23:42:19 -0700 Subject: 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 --- board/freescale/mpc8610hpcd/mpc8610hpcd.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'board/freescale') diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index c9dde4d1a39..af79fc2c67a 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c @@ -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; +} -- cgit v1.2.3