[U-Boot] [PATCH] socrates: fix crash after relocation
Anatolij Gustschin
agust at denx.de
Wed Sep 17 12:34:45 CEST 2008
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 at denx.de>
---
board/socrates/ddr.c | 2 +-
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:
--
1.5.3.3
More information about the U-Boot
mailing list