From 6a002171098e968bd5b362347d2831224fab6048 Mon Sep 17 00:00:00 2001 From: Ben Warren Date: Sat, 12 Jul 2008 00:17:50 -0700 Subject: Moved initialization of SKGE Ethernet driver to board code. The only board using this driver is the SL8245 board. Removed initialization for the driver from net/eth.c Signed-off-by: Ben Warren --- board/sl8245/sl8245.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'board/sl8245/sl8245.c') diff --git a/board/sl8245/sl8245.c b/board/sl8245/sl8245.c index 86478871bc..c853755a1c 100644 --- a/board/sl8245/sl8245.c +++ b/board/sl8245/sl8245.c @@ -66,3 +66,16 @@ void pci_init_board(void) { pci_mpc824x_init(&hose); } + +extern int skge_initialize(bd_t *bis); + +int board_eth_init(bd_t *bis) +{ + int rc = 0; + +#if defined(CONFIG_SK98) + rc = skge_initialize(bis); +#endif + return rc; +} + -- cgit v1.2.1