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>
diff --git a/board/sh7785lcr/sh7785lcr.c b/board/sh7785lcr/sh7785lcr.c
index 5b9c403..66b21f8 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 @@
pci_sh7780_init(&hose);
}
+int board_eth_init(bd_t *bis)
+{
+ return pci_eth_init(bis);
+}