summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 10:16:59 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:17 -0700
commit8218bd2aa68820b878a8413493ae17fd8d21f944 (patch)
tree31f044f5657a5be7d16918539c69187ea73ca180 /drivers/net
parent164846eeb25cb2a5ede7ab9371fdca7f4831a055 (diff)
downloadu-boot-imx-8218bd2aa68820b878a8413493ae17fd8d21f944.zip
u-boot-imx-8218bd2aa68820b878a8413493ae17fd8d21f944.tar.gz
u-boot-imx-8218bd2aa68820b878a8413493ae17fd8d21f944.tar.bz2
Moved initialization of IncaIP Ethernet controller to board_eth_init
Affected boards: IncaIP Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/inca-ip_sw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/inca-ip_sw.c b/drivers/net/inca-ip_sw.c
index d852a15..492f5ce 100644
--- a/drivers/net/inca-ip_sw.c
+++ b/drivers/net/inca-ip_sw.c
@@ -28,6 +28,7 @@
#include <malloc.h>
#include <net.h>
+#include <netdev.h>
#include <asm/inca-ip.h>
#include <asm/addrspace.h>
@@ -199,7 +200,7 @@ int inca_switch_initialize(bd_t * bis)
printf("Leaving inca_switch_initialize()\n");
#endif
- return 1;
+ return 0;
}