summaryrefslogtreecommitdiff
path: root/board/amirix/ap1000/ap1000.c
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 10:44:19 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:18 -0700
commitad3381cf4167120db5c7b88e4970245e1d5c0a32 (patch)
tree93a19cb4ee835e33553e591c9c55c11cb3763548 /board/amirix/ap1000/ap1000.c
parent4fce2aceaf8afd31a252bc782c9dbc497bf40487 (diff)
downloadu-boot-imx-ad3381cf4167120db5c7b88e4970245e1d5c0a32.zip
u-boot-imx-ad3381cf4167120db5c7b88e4970245e1d5c0a32.tar.gz
u-boot-imx-ad3381cf4167120db5c7b88e4970245e1d5c0a32.tar.bz2
Moved initialization of E1000 Ethernet controller to board_eth_init()
Affected boards: ap1000 mvbc_p PM854 Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/amirix/ap1000/ap1000.c')
-rw-r--r--board/amirix/ap1000/ap1000.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/amirix/ap1000/ap1000.c b/board/amirix/ap1000/ap1000.c
index 55277e7..8f30ed9 100644
--- a/board/amirix/ap1000/ap1000.c
+++ b/board/amirix/ap1000/ap1000.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <command.h>
+#include <netdev.h>
#include <asm/processor.h>
#include "powerspan.h"
@@ -697,3 +698,9 @@ U_BOOT_CMD (swrecon, 1, 0, do_swreconfig,
"swrecon - trigger a board reconfigure to the software selected configuration\n",
"\n"
" - trigger a board reconfigure to the software selected configuration\n");
+
+int board_eth_init(bd_t *bis)
+{
+ return pci_eth_init(bis);
+}
+