[U-Boot] [PATCH] T104xD4RDB: Enable L2 Switch on T104xD4RDB board

Codrin Ciubotariu codrin.ciubotariu at freescale.com
Fri Mar 27 18:07:26 CET 2015


This patch enables L2 Switch support for board T104xRDB by defining
CONFIG_VSC9953(_CMD) and the addresses for QSGMII Ethernet PHYs.

This patch depends on patch:
mpc85xx/T104xD4RDB: Add T104xD4RDB boards support

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu at freescale.com>
---
 include/configs/T104xRDB.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index f11db1d..f4006ee 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -746,11 +746,16 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_rcw.cfg
 #endif
 
 /* Enable VSC9953 L2 Switch driver on T1040 SoC */
-#ifdef CONFIG_T1040RDB
+#if defined(CONFIG_T1040RDB) || defined(CONFIG_T1040D4RDB)
 #define CONFIG_VSC9953
 #define CONFIG_VSC9953_CMD
+#ifdef CONFIG_T1040RDB
 #define CONFIG_SYS_FM1_QSGMII11_PHY_ADDR	0x04
 #define CONFIG_SYS_FM1_QSGMII21_PHY_ADDR	0x08
+#else
+#define CONFIG_SYS_FM1_QSGMII11_PHY_ADDR	0x08
+#define CONFIG_SYS_FM1_QSGMII21_PHY_ADDR	0x0c
+#endif
 #endif
 
 #define CONFIG_MII		/* MII PHY management */
-- 
1.9.3



More information about the U-Boot mailing list