]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
add board_eth_init() for sh7785lcr board
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Tue, 9 Sep 2008 08:52:47 +0000 (17:52 +0900)
committerWolfgang Denk <wd@denx.de>
Tue, 9 Sep 2008 21:22:54 +0000 (23:22 +0200)
Fix the problem that cannot work RTL8169 on sh7785lcr board.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
board/sh7785lcr/sh7785lcr.c

index 5b9c403746dbcf4a17ff8f64975d319799c88f1a..66b21f8496caf388d6907ab38e06aeda052a0570 100644 (file)
@@ -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);
+}