summaryrefslogtreecommitdiff
path: root/board/socrates/ddr.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2008-09-17 12:34:45 +0200
committerWolfgang Denk <wd@denx.de>2008-09-22 21:48:07 +0200
commitd666b2d59674b5e002c0821b7ab83ec3ff90d670 (patch)
tree8e65a674a93929742363d9fb5c051e75639f4d58 /board/socrates/ddr.c
parent562788b0a303f3528b920d81f547f5ca77ba528e (diff)
downloadu-boot-imx-d666b2d59674b5e002c0821b7ab83ec3ff90d670.zip
u-boot-imx-d666b2d59674b5e002c0821b7ab83ec3ff90d670.tar.gz
u-boot-imx-d666b2d59674b5e002c0821b7ab83ec3ff90d670.tar.bz2
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 <agust@denx.de>
Diffstat (limited to 'board/socrates/ddr.c')
-rw-r--r--board/socrates/ddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/socrates/ddr.c b/board/socrates/ddr.c
index bbb5ee2..62a5951 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: