aboutsummaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorStefan Roese2006-11-29 15:42:37 +0100
committerStefan Roese2006-11-29 16:14:05 +0100
commit1eac2a71417b6675b11aace72102a2e7fde8f5c6 (patch)
tree1dacdcee6013a21ed367facd99ff8e546315434d /net/eth.c
parent1bdd46832aeb569f5e04b1f20f64318525b6525a (diff)
[PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards
This patch adds support for the Prodrive P3M750 (PPC750 & MV64460) and the P3M7448 (MPC7448 & MV64460) PMC modules. Both modules are quite similar and share the same board directory "prodrive/p3mx" and the same config file "p3mx.h". Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/eth.c b/net/eth.c
index e8ac251a4fe..1e6a1c97ab8 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -142,13 +142,10 @@ int eth_initialize(bd_t *bis)
miiphy_init();
#endif
-#ifdef CONFIG_DB64360
+#if defined(CONFIG_DB64360) || defined(CONFIG_CPCI750)
mv6436x_eth_initialize(bis);
#endif
-#ifdef CONFIG_CPCI750
- mv6436x_eth_initialize(bis);
-#endif
-#ifdef CONFIG_DB64460
+#if defined(CONFIG_DB64460) || defined(CONFIG_P3Mx)
mv6446x_eth_initialize(bis);
#endif
#if defined(CONFIG_4xx) && !defined(CONFIG_IOP480) && !defined(CONFIG_AP1000)