Commit cef0efaf authored by Stefan Roese's avatar Stefan Roese
Browse files

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: default avatarStefan Roese <sr@denx.de>
parent c645012a
...@@ -451,5 +451,6 @@ int post_hotkeys_pressed(void) ...@@ -451,5 +451,6 @@ int post_hotkeys_pressed(void)
int board_eth_init(bd_t *bis) int board_eth_init(bd_t *bis)
{ {
cpu_eth_init(bis);
return pci_eth_init(bis); return pci_eth_init(bis);
} }
...@@ -195,5 +195,6 @@ int pci_pre_init(struct pci_controller *hose) ...@@ -195,5 +195,6 @@ int pci_pre_init(struct pci_controller *hose)
int board_eth_init(bd_t *bis) int board_eth_init(bd_t *bis)
{ {
cpu_eth_init(bis);
return pci_eth_init(bis); return pci_eth_init(bis);
} }
...@@ -315,5 +315,6 @@ int post_hotkeys_pressed(void) ...@@ -315,5 +315,6 @@ int post_hotkeys_pressed(void)
int board_eth_init(bd_t *bis) int board_eth_init(bd_t *bis)
{ {
cpu_eth_init(bis);
return pci_eth_init(bis); return pci_eth_init(bis);
} }
...@@ -956,5 +956,6 @@ int onboard_pci_arbiter_selected(int core_pci) ...@@ -956,5 +956,6 @@ int onboard_pci_arbiter_selected(int core_pci)
int board_eth_init(bd_t *bis) int board_eth_init(bd_t *bis)
{ {
cpu_eth_init(bis);
return pci_eth_init(bis); return pci_eth_init(bis);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment