summaryrefslogtreecommitdiff
path: root/board/o2dnt/o2dnt.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-03 22:43:57 +0200
committerWolfgang Denk <wd@denx.de>2008-09-03 22:43:57 +0200
commit16116ddd0d0158f4e91c91dc979b845b6e98a99d (patch)
treee2062a888c76462b6335da29092c5fe4134c0859 /board/o2dnt/o2dnt.c
parent628ffd73bcff0c9f3bc5a8eeb2c7455fe9d28a51 (diff)
parentbe1b0d2777e179191a57b138b660547a17e55aad (diff)
downloadu-boot-imx-16116ddd0d0158f4e91c91dc979b845b6e98a99d.zip
u-boot-imx-16116ddd0d0158f4e91c91dc979b845b6e98a99d.tar.gz
u-boot-imx-16116ddd0d0158f4e91c91dc979b845b6e98a99d.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-net
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 a4eed3a..19faf52 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);
+}