]> git.sur5r.net Git - u-boot/commitdiff
socrates: fix crash after relocation
authorAnatolij Gustschin <agust@denx.de>
Wed, 17 Sep 2008 10:34:45 +0000 (12:34 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 22 Sep 2008 19:48:07 +0000 (21:48 +0200)
Currently U-Boot crashes after relocation to RAM.
Changing the CPO value of the DDR SDRAM TIMING_CFG_2
register to READ_LAT + 1 (to the value it was before
conversion of socrates to new DDR code) fixes the
problem.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
board/socrates/ddr.c

index bbb5ee2c4ab16cb2aef31b067d0555c193e616d2..62a5951831f79c977560a78ef992a0538cd6ac5d 100644 (file)
@@ -57,7 +57,7 @@ void fsl_ddr_board_options(memctl_options_t *popts, unsigned int ctrl_num)
         *      - frequency
         *      - ddr1 vs. ddr2
         */
-       popts->cpo_override = 10;
+       popts->cpo_override = 0;
 
        /*
         * Factors to consider for write data delay: