summaryrefslogtreecommitdiff
path: root/drivers
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 /drivers
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 'drivers')
-rw-r--r--drivers/net/sk98lin/uboot_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sk98lin/uboot_drv.c b/drivers/net/sk98lin/uboot_drv.c
index 8b04842..205e7d2 100644
--- a/drivers/net/sk98lin/uboot_drv.c
+++ b/drivers/net/sk98lin/uboot_drv.c
@@ -70,7 +70,7 @@ int skge_initialize(bd_t * bis)
eth_register(dev[i]);
}
- return numdev;
+ return ((numdev > 0) && (numdev <= SKGE_MAX_CARDS) ? 0 : -1);
}