[U-Boot] [PATCH 09/14] xpedite1k: Disable unused ethernet port 1

Peter Tyser ptyser at xes-inc.com
Sat Jul 18 02:01:11 CEST 2009


The XPedite1000 only has 2 available ethernet ports:
ppc_4xx_eth2 (EMAC2) and ppc_4xx_eth3 (EMAC3)

Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
---
 include/configs/XPEDITE1K.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/include/configs/XPEDITE1K.h b/include/configs/XPEDITE1K.h
index df02d7b..d8eccd8 100644
--- a/include/configs/XPEDITE1K.h
+++ b/include/configs/XPEDITE1K.h
@@ -153,8 +153,7 @@ extern void out32(unsigned int, unsigned long);
 
 #define CONFIG_PPC4xx_EMAC
 #define CONFIG_MII		1	/* MII PHY management */
-#define CONFIG_PHY_ADDR		0	/* PHY address phy0 not populated */
-#define CONFIG_PHY1_ADDR	1	/* PHY address phy1 not populated */
+#define CONFIG_PHY_ADDR		4	/* PHY address phy0 not populated */
 #define CONFIG_PHY2_ADDR	4	/* PHY address phy2 */
 #define CONFIG_PHY3_ADDR	8	/* PHY address phy3 */
 #define CONFIG_NET_MULTI	1
@@ -162,7 +161,6 @@ extern void out32(unsigned int, unsigned long);
 #define CONFIG_PHY_RESET	1	/* reset phy upon startup */
 #define CONFIG_SYS_RX_ETH_BUFFER 32	/* Number of ethernet rx buffers & descriptors */
 
-#define CONFIG_HAS_ETH1		1	/* add support for "eth1addr" */
 #define CONFIG_HAS_ETH2		1	/* add support for "eth2addr" */
 #define CONFIG_HAS_ETH3		1	/* add support for "eth3addr" */
 
-- 
1.6.2.1



More information about the U-Boot mailing list