diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-07-12 00:17:50 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-08-26 22:18:08 -0700 |
commit | 6a002171098e968bd5b362347d2831224fab6048 (patch) | |
tree | b7240a72ef681d611411f6950062c940a633a613 /board/sl8245 | |
parent | 8379f42bc745eb9e4ca551a30fd2d0a63f740d75 (diff) |
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')
-rw-r--r-- | board/sl8245/sl8245.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board/sl8245/sl8245.c b/board/sl8245/sl8245.c index 86478871bcb..c853755a1c6 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; +} + |