浏览代码

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>
Anatolij Gustschin 16 年之前
父节点
当前提交
d666b2d596
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      board/socrates/ddr.c

+ 1 - 1
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: