Skip to contentSkip to conversation

85xx/p1_p2_rdb: Modify the CLK_CTRL value for DDR at 667MHz

PATCH New Poonam Aggrwal 3 participants 3 messages Jun 23, 2010 – Jun 29, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 85xx/p1_p2_rdb: Modify the CLK_CTRL value for DDR at 667MHz

Use a slighly larger value of CLK_CTRL for DDR at 667MHz which fixes random crashes while linux booting.

Applicable for both NAND and NOR boot.

---
 board/freescale/p1_p2_rdb/ddr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/p1_p2_rdb/ddr.c +1 -1
index fccc4f8..15b46b0 100644
@@ -76,7 +76,7 @@ extern void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,
 #define CONFIG_SYS_DDR_TIMING_0_667	0x55770802
 #define CONFIG_SYS_DDR_TIMING_1_667	0x5f599543
 #define CONFIG_SYS_DDR_TIMING_2_667	0x0fa074d1
-#define CONFIG_SYS_DDR_CLK_CTRL_667	0x02800000
+#define CONFIG_SYS_DDR_CLK_CTRL_667	0x03000000
 #define CONFIG_SYS_DDR_MODE_1_667	0x00040852
 #define CONFIG_SYS_DDR_MODE_2_667	0x00000000
 #define CONFIG_SYS_DDR_INTERVAL_667	0x0a280100
Signature · 1 line
1.5.6.5
#2 lore raw

PATCH 1/1 85xx/p1_p2_rdb: Modify the CLK_CTRL value for DDR at 667MHz

In reply to Poonam Aggrwal

Dear Poonam Aggrwal,

Quoted 10 lines · In message <[email protected]>…

Use a slighly larger value of CLK_CTRL for DDR at 667MHz which fixes random crashes while linux booting.

Applicable for both NAND and NOR boot.

---
 board/freescale/p1_p2_rdb/ddr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have a theory that it's impossible to prove anything, but  I  can't
prove it.