ppc4xx: Fix problem with board_eth_init() vs cpu_eth_init() on AMCC boards
authorStefan Roese <sr@denx.de>
Wed, 11 Feb 2009 08:29:33 +0000 (09:29 +0100)
committerStefan Roese <sr@denx.de>
Thu, 12 Feb 2009 05:08:07 +0000 (06:08 +0100)
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>
board/amcc/katmai/katmai.c
board/amcc/taihu/taihu.c
board/amcc/taishan/taishan.c
board/amcc/yucca/yucca.c

index b6c0c11..e078ba4 100644 (file)
@@ -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);
 }
index 5224378..669429b 100644 (file)
@@ -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);
 }
index 28bdab5..53ce88c 100644 (file)
@@ -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);
 }
index c805568..06c7d62 100644 (file)
@@ -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);
 }