summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2014-03-06 15:07:39 +0800
committerYork Sun <yorksun@freescale.com>2014-03-07 14:52:41 -0800
commit6b7679c8d2b92cd7e4e8dad6f2ff84ce36ec2c5e (patch)
tree6b46125045ce6951cfc7e31dceff416aaedac7eb
parentb892465dae6afc5528724c044991a76f241cd177 (diff)
downloadu-boot-imx-6b7679c8d2b92cd7e4e8dad6f2ff84ce36ec2c5e.zip
u-boot-imx-6b7679c8d2b92cd7e4e8dad6f2ff84ce36ec2c5e.tar.gz
u-boot-imx-6b7679c8d2b92cd7e4e8dad6f2ff84ce36ec2c5e.tar.bz2
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. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r--board/freescale/t208xqds/eth_t208xqds.c3
-rw-r--r--include/configs/T208xQDS.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/board/freescale/t208xqds/eth_t208xqds.c b/board/freescale/t208xqds/eth_t208xqds.c
index 7d8411b..d7a804d 100644
--- a/board/freescale/t208xqds/eth_t208xqds.c
+++ b/board/freescale/t208xqds/eth_t208xqds.c
@@ -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];
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 5b22d64..c6a30db 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -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