summaryrefslogtreecommitdiff
path: root/board/o2dnt/o2dnt.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-03 23:07:41 +0200
committerWolfgang Denk <wd@denx.de>2008-09-03 23:07:41 +0200
commit53c987f51391c1a221b0468aa0f37a3a6ce9181a (patch)
tree62bd19ba9bcf8a5062e874ab53877b53a434d6f7 /board/o2dnt/o2dnt.c
parent1711f3bd16d1c5e9d17b4c0198b426d86999781b (diff)
parentce42d166ac3c55ebf1e7c2f9707a79acefa006be (diff)
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'board/o2dnt/o2dnt.c')
-rw-r--r--board/o2dnt/o2dnt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/o2dnt/o2dnt.c b/board/o2dnt/o2dnt.c
index a4eed3a436..19faf52aff 100644
--- a/board/o2dnt/o2dnt.c
+++ b/board/o2dnt/o2dnt.c
@@ -27,6 +27,7 @@
#include <common.h>
#include <mpc5xxx.h>
#include <pci.h>
+#include <netdev.h>
#define SDRAM_MODE 0x00CD0000
#define SDRAM_CONTROL 0x504F0000
@@ -180,3 +181,9 @@ void pci_init_board(void)
pci_mpc5xxx_init(&hose);
}
#endif
+
+int board_eth_init(bd_t *bis)
+{
+ cpu_eth_init(bis); /* Built in FEC comes first */
+ return pci_eth_init(bis);
+}