85xx: Fix the clock adjust of mpc8569mds board
authorDave Liu <daveliu@freescale.com>
Fri, 27 Mar 2009 06:32:43 +0000 (14:32 +0800)
committerWolfgang Denk <wd@denx.de>
Tue, 9 Jun 2009 20:58:05 +0000 (22:58 +0200)
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.

Signed-off-by: Dave Liu <daveliu@freescale.com>
board/freescale/mpc8569mds/ddr.c

index 4b4533eb5023d874a00f1268cb21afcb4c07906f..e938788f0739645564bea9e4ca95684269c3e44d 100644 (file)
@@ -54,7 +54,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: