]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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 b6c0c11ef2645e2772d1e677ba30dffefbe9866a..e078ba4f9cfd6434b1ebe19629985879b52d16e6 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 522437805bf29bd190c743eee5c79f5ee4906c8f..669429b67ffcb5d67359e9acaaa0458d57f5ebba 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 28bdab5dbb9d8462d20f1e94ede36d135ebd6d6e..53ce88c6cdf5c829254a686776d3baa85b761da7 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 c8055689f70ef0f412312750df1c439e27079e4b..06c7d625a49fcc4778a8dda006c4f641d99800d4 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);
 }