Просмотр исходного кода

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>
Yoshihiro Shimoda 16 лет назад
Родитель
Сommit
1d9b67b23f
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      board/sh7785lcr/sh7785lcr.c

+ 5 - 0
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);
+}