summaryrefslogtreecommitdiff
path: root/board/eNET
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-04-24 00:05:55 +1000
committerWolfgang Denk <wd@denx.de>2010-05-06 00:19:12 +0200
commit8fd805632f95e5e834f312a51aa969bf1d99c41b (patch)
treeeba967c1d424d6b6003fe5506cdd3e1116fe06f7 /board/eNET
parent21e67e796bb1d59a484dce2b4203d61bf1fd5be8 (diff)
downloadu-boot-8fd805632f95e5e834f312a51aa969bf1d99c41b.tar.gz
eNET: Add support for onboard RTL8100B (RTL8139) chips
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'board/eNET')
-rw-r--r--board/eNET/eNET.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c
index 52ea1407b5..62f99ce94d 100644
--- a/board/eNET/eNET.c
+++ b/board/eNET/eNET.c
@@ -24,6 +24,8 @@
#include <common.h>
#include <asm/io.h>
#include <asm/ic/sc520.h>
+#include <net.h>
+#include <netdev.h>
#ifdef CONFIG_HW_WATCHDOG
#include <watchdog.h>
@@ -173,3 +175,8 @@ ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t * info)
} else
return 0;
}
+
+int board_eth_init(bd_t *bis)
+{
+ return pci_eth_init(bis);
+}