From: Anatolij Gustschin Date: Wed, 17 Sep 2008 10:34:45 +0000 (+0200) Subject: socrates: fix crash after relocation X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d666b2d59674b5e002c0821b7ab83ec3ff90d670;p=u-boot.git socrates: fix crash after relocation 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 --- diff --git a/board/socrates/ddr.c b/board/socrates/ddr.c index bbb5ee2c4a..62a5951831 100644 --- a/board/socrates/ddr.c +++ b/board/socrates/ddr.c @@ -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: