summaryrefslogtreecommitdiff
path: root/board
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 /board
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 'board')
-rw-r--r--board/incaip/incaip.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/incaip/incaip.c b/board/incaip/incaip.c
index ac7ad8f..6fe852c 100644
--- a/board/incaip/incaip.c
+++ b/board/incaip/incaip.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <command.h>
+#include <netdev.h>
#include <asm/addrspace.h>
#include <asm/inca-ip.h>
#include <asm/io.h>
@@ -116,3 +117,10 @@ int checkboard (void)
return 0;
}
+
+#if defined(CONFIG_INCA_IP_SWITCH)
+int board_eth_init(bd_t *bis)
+{
+ return inca_switch_initialize(bis);
+}
+#endif