Skip to contentSkip to conversation

powerpc/t208xqds: fixup for t208xqds

PATCH New Shengzhou Liu 2 participants 2 messages Mar 6, 2014 – Mar 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/t208xqds: fixup for t208xqds

- change QIXIS timing parameter CONFIG_SYS_CS3_FTIM2 to 8 from 0.
- fix EMI2 for t2080qds, which was caused by adding t2081qds.

---
 board/freescale/t208xqds/eth_t208xqds.c | 3 ++-
 include/configs/T208xQDS.h              | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
board/freescale/t208xqds/eth_t208xqds.c +2 -1
index 7d8411b..d7a804d 100644
@@ -36,14 +36,15 @@
 #define EMI1_SLOT3	3
 #define EMI1_SLOT4	4
 #define EMI1_SLOT5	5
+#define EMI2            7
 #elif defined(CONFIG_T2081QDS)
 #define EMI1_SLOT2      3
 #define EMI1_SLOT3      4
 #define EMI1_SLOT5      5
 #define EMI1_SLOT6      6
 #define EMI1_SLOT7      7
-#endif
 #define EMI2		8
+#endif
 
 static int mdio_mux[NUM_FM_PORTS];
 
include/configs/T208xQDS.h +1 -1
index c697824..c6d0b06 100644
@@ -243,7 +243,7 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_CS3_FTIM1		(FTIM1_GPCM_TACO(0xff) | \
 					FTIM1_GPCM_TRAD(0x3f))
 #define CONFIG_SYS_CS3_FTIM2		(FTIM2_GPCM_TCS(0x0e) | \
-					FTIM2_GPCM_TCH(0x0) | \
+					FTIM2_GPCM_TCH(0x8) | \
 					FTIM2_GPCM_TWP(0x1f))
 #define CONFIG_SYS_CS3_FTIM3		0x0
 
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/1 powerpc/t208xqds: fixup for t208xqds

Quoted 5 lines · Shengzhou Liu

- change QIXIS timing parameter CONFIG_SYS_CS3_FTIM2 to 8 from 0.
- fix EMI2 for t2080qds, which was caused by adding t2081qds.

---

Applied to u-boot-mpc85xx/master. Thanks.

York