Skip to contentSkip to conversation

85xx: Fix the clock adjust of mpc8569mds board

PATCH New Dave Liu 2 participants 2 messages Mar 27, 2009 – Jun 2, 2009

lore
Share & tools
lore

Dave Liu

author
#0 lore raw

PATCH 1/1 85xx: Fix the clock adjust of mpc8569mds board

Currently the clk_adj is 6 (3/4 cycle), The settings will cause the DDR controller hang at the data init. Change the clk_adj from 6 to 4 (1/2 cycle), make the memory system stable.

---
 board/freescale/mpc8569mds/ddr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/mpc8569mds/ddr.c +1 -1
index c4e63fb..da1e675 100644
@@ -56,7 +56,7 @@ void fsl_ddr_board_options(memctl_options_t *popts,
 	 *	0110	3/4 cycle late
 	 *	0111	7/8 cycle late
 	 */
-	popts->clk_adjust = 6;
+	popts->clk_adjust = 4;
 
 	/*
 	 * Factors to consider for CPO:
Signature · 1 line
1.5.4
Applied
#1 lore raw

PATCH 1/1 85xx: Fix the clock adjust of mpc8569mds board

Quoted 5 lines · Dave Liu

Currently the clk_adj is 6 (3/4 cycle), The settings will cause the DDR controller hang at the data init. Change the clk_adj from 6 to 4 (1/2 cycle), make the memory system stable.

Applied to HEAD, thanks!

Andy