summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2008-09-09 17:52:47 +0900
committerWolfgang Denk <wd@denx.de>2008-09-09 23:22:54 +0200
commit1d9b67b23fca6a25154333733204339802510720 (patch)
treeb73dc917c0bf8c95acdc04b02167047d1c58a3ef
parent7b7a869a8ba3bd6d9bffb748c91232141330f514 (diff)
add board_eth_init() for sh7785lcr board
Fix the problem that cannot work RTL8169 on sh7785lcr board. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
-rw-r--r--board/sh7785lcr/sh7785lcr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/sh7785lcr/sh7785lcr.c b/board/sh7785lcr/sh7785lcr.c
index 5b9c403746d..66b21f8496c 100644
--- a/board/sh7785lcr/sh7785lcr.c
+++ b/board/sh7785lcr/sh7785lcr.c
@@ -21,6 +21,7 @@
#include <asm/io.h>
#include <asm/processor.h>
#include <asm/pci.h>
+#include <netdev.h>
int checkboard(void)
{
@@ -49,3 +50,7 @@ void pci_init_board(void)
pci_sh7780_init(&hose);
}
+int board_eth_init(bd_t *bis)
+{
+ return pci_eth_init(bis);
+}