]> git.sur5r.net Git - u-boot/commitdiff
powerpc/t208xqds: fixup for t208xqds
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Thu, 6 Mar 2014 07:07:39 +0000 (15:07 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 7 Mar 2014 22:52:41 +0000 (14:52 -0800)
Change QIXIS timing parameter CONFIG_SYS_CS3_FTIM2 to 8 from 0.
Fix EMI2 for t2080qds, which was caused by adding t2081qds.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/t208xqds/eth_t208xqds.c
include/configs/T208xQDS.h

index 7d8411bef72429fe5fbc6ea008cc8b3876141a50..d7a804d22ad937bbb5839911a79adb58ec36c9b5 100644 (file)
 #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];
 
index 5b22d6446739e9677b2d9fe04bd580093f5be95f..c6a30db8b7fb8c78de7eef4a70932f1178840a77 100644 (file)
@@ -242,7 +242,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