summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Sadecki <Zach.Sadecki@ripcode.com>2007-07-31 12:27:25 -0500
committerWolfgang Denk <wd@denx.de>2007-08-09 22:47:31 +0200
commited8106433522f2ea8933e9808346860d061d7731 (patch)
tree7417ba38d04f9df6253517e2c0b9da1407d35311
parentdcb84b7208ade0bbebbeb56bec9c2c64f8b2eede (diff)
downloadu-boot-imx-ed8106433522f2ea8933e9808346860d061d7731.zip
u-boot-imx-ed8106433522f2ea8933e9808346860d061d7731.tar.gz
u-boot-imx-ed8106433522f2ea8933e9808346860d061d7731.tar.bz2
tsec: fix multiple PHY support
The change entitled "Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx" broke multiple PHY support in tsec.c. This fixes it. Signed-off-by: Zach Sadecki <Zach.Sadecki@ripcode.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-rw-r--r--drivers/tsec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tsec.c b/drivers/tsec.c
index c9e7f97..c011123 100644
--- a/drivers/tsec.c
+++ b/drivers/tsec.c
@@ -71,6 +71,7 @@ static struct tsec_info_struct tsec_info[] = {
#else
{TSEC1_PHY_ADDR, TSEC_GIGABIT, TSEC1_PHYIDX},
#endif
+#else
{0, 0, 0},
#endif
#if defined(CONFIG_TSEC2)
@@ -79,6 +80,7 @@ static struct tsec_info_struct tsec_info[] = {
#else
{TSEC2_PHY_ADDR, TSEC_GIGABIT, TSEC2_PHYIDX},
#endif
+#else
{0, 0, 0},
#endif
#ifdef CONFIG_MPC85XX_FEC