[U-Boot-Users] ppc4xx: net: [PATCH] Remove emac4xx_miiphy_initialize for ppc440x5

Ricardo Ribalda Delgado ricardo.ribalda at uam.es
Tue Jul 29 15:12:37 CEST 2008


PPC440x5 does not have an integrated Emac, it must be removed
from the net/eth.c file

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at uam.es>
---
 net/eth.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/net/eth.c b/net/eth.c
index 38979aa..bd3580c 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -621,7 +621,8 @@ int eth_initialize(bd_t *bis)
 	at91rm9200_miiphy_initialize(bis);
 #endif
 #if defined(CONFIG_4xx) && !defined(CONFIG_IOP480) \
-	&& !defined(CONFIG_AP1000) && !defined(CONFIG_405)
+	&& !defined(CONFIG_AP1000) && !defined(CONFIG_405) \
+	&& !defined(CONFIG_XILINX_440)
 	emac4xx_miiphy_initialize(bis);
 #endif
 #if defined(CONFIG_MCF52x2)
-- 
1.5.6.3





More information about the U-Boot mailing list