summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/4xx_enet.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-09-08 10:01:48 +0200
committerStefan Roese <sr@denx.de>2008-09-08 10:27:56 +0200
commitf071f01fd09e9bf1cf09de37a7416aacce71bae1 (patch)
tree231abd4c5bee71c272771fba68db81617aa99569 /cpu/ppc4xx/4xx_enet.c
parent6ca8646c1860bba74326bf916a5a3389a5c0d3b5 (diff)
downloadu-boot-imx-f071f01fd09e9bf1cf09de37a7416aacce71bae1.zip
u-boot-imx-f071f01fd09e9bf1cf09de37a7416aacce71bae1.tar.gz
u-boot-imx-f071f01fd09e9bf1cf09de37a7416aacce71bae1.tar.bz2
ppc4xx: Remove CONFIG_CS8952_PHY define
Since this define is only used on one board that was never really in production, removing this compile time option doesn't hurt and makes the code more readable. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/4xx_enet.c')
-rw-r--r--cpu/ppc4xx/4xx_enet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c
index 52486fd..6d4d043 100644
--- a/cpu/ppc4xx/4xx_enet.c
+++ b/cpu/ppc4xx/4xx_enet.c
@@ -1187,7 +1187,6 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis)
}
#endif /* defined(CONFIG_PHY_RESET) */
-#if !defined(CONFIG_CS8952_PHY)
miiphy_read (dev->name, reg, PHY_BMSR, &reg_short);
/*
@@ -1215,7 +1214,6 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis)
puts (" done\n");
udelay (500000); /* another 500 ms (results in faster booting) */
}
-#endif /* !defined(CONFIG_CS8952_PHY) */
get_speed:
if (reg == CONFIG_FIXED_PHY) {