浏览代码

ppc4xx: Fix problem with board_eth_init() vs cpu_eth_init() on AMCC boards

Some AMCC eval boards do have a board_eth_init() function calling
pci_eth_init(). These boards need to call cpu_eth_init() explicitly now
with the new eth_init rework.

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 16 年之前
父节点
当前提交
cef0efaf2f
共有 4 个文件被更改,包括 4 次插入0 次删除
  1. 1 0
      board/amcc/katmai/katmai.c
  2. 1 0
      board/amcc/taihu/taihu.c
  3. 1 0
      board/amcc/taishan/taishan.c
  4. 1 0
      board/amcc/yucca/yucca.c

+ 1 - 0
board/amcc/katmai/katmai.c

@@ -451,5 +451,6 @@ int post_hotkeys_pressed(void)
 
 int board_eth_init(bd_t *bis)
 {
+	cpu_eth_init(bis);
 	return pci_eth_init(bis);
 }

+ 1 - 0
board/amcc/taihu/taihu.c

@@ -195,5 +195,6 @@ int pci_pre_init(struct pci_controller *hose)
 
 int board_eth_init(bd_t *bis)
 {
+	cpu_eth_init(bis);
 	return pci_eth_init(bis);
 }

+ 1 - 0
board/amcc/taishan/taishan.c

@@ -315,5 +315,6 @@ int post_hotkeys_pressed(void)
 
 int board_eth_init(bd_t *bis)
 {
+	cpu_eth_init(bis);
 	return pci_eth_init(bis);
 }

+ 1 - 0
board/amcc/yucca/yucca.c

@@ -956,5 +956,6 @@ int onboard_pci_arbiter_selected(int core_pci)
 
 int board_eth_init(bd_t *bis)
 {
+	cpu_eth_init(bis);
 	return pci_eth_init(bis);
 }