summaryrefslogtreecommitdiff
path: root/board/MAI/AmigaOneG3SE
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/MAI/AmigaOneG3SE
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/MAI/AmigaOneG3SE')
-rw-r--r--board/MAI/AmigaOneG3SE/AmigaOneG3SE.c9
-rw-r--r--board/MAI/AmigaOneG3SE/enet.c1
2 files changed, 10 insertions, 0 deletions
diff --git a/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c b/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c
index e118563..4d44001 100644
--- a/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c
+++ b/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c
@@ -26,6 +26,7 @@
#include <common.h>
#include <command.h>
#include <pci.h>
+#include <netdev.h>
#include "articiaS.h"
#include "memio.h"
#include "via686.h"
@@ -111,3 +112,11 @@ void pci_init_board (void)
articiaS_pci_init ();
#endif
}
+
+int board_eth_init(bd_t *bis)
+{
+#if defined(CONFIG_3COM)
+ eth_3com_initialize(bis);
+#endif
+ return 0;
+}
diff --git a/board/MAI/AmigaOneG3SE/enet.c b/board/MAI/AmigaOneG3SE/enet.c
index 5a90cc5..0b4dfe6 100644
--- a/board/MAI/AmigaOneG3SE/enet.c
+++ b/board/MAI/AmigaOneG3SE/enet.c
@@ -28,6 +28,7 @@
#include <common.h>
#include <malloc.h>
#include <net.h>
+#include <netdev.h>
#include <asm/io.h>
#include <pci.h>