diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-07-12 06:42:19 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-08-27 05:17:45 (GMT) |
commit | 65d3d99c28dc363d15eaee78225ff643df499b97 (patch) | |
tree | f22c8f0166cc33a8ce1be97ee17178ba7700e685 /board/freescale | |
parent | 914947313a710f5dcf06beaf7f2aa24f1ebcce4f (diff) | |
download | u-boot-65d3d99c28dc363d15eaee78225ff643df499b97.tar.xz |
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>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mpc8610hpcd/mpc8610hpcd.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index c9dde4d..af79fc2 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; +} |