summaryrefslogtreecommitdiff
path: root/board/sl8245/sl8245.c
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-07-12 00:17:50 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-08-26 22:18:08 -0700
commit6a002171098e968bd5b362347d2831224fab6048 (patch)
treeb7240a72ef681d611411f6950062c940a633a613 /board/sl8245/sl8245.c
parent8379f42bc745eb9e4ca551a30fd2d0a63f740d75 (diff)
downloadu-boot-imx-6a002171098e968bd5b362347d2831224fab6048.zip
u-boot-imx-6a002171098e968bd5b362347d2831224fab6048.tar.gz
u-boot-imx-6a002171098e968bd5b362347d2831224fab6048.tar.bz2
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 <biggerbadderben@gmail.com>
Diffstat (limited to 'board/sl8245/sl8245.c')
-rw-r--r--board/sl8245/sl8245.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/sl8245/sl8245.c b/board/sl8245/sl8245.c
index 8647887..c853755 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;
+}
+