[U-Boot-Users] [PATCH] Fix memory initialization on MPC8349ITX

Timur Tabi timur at freescale.com
Thu Apr 26 16:33:48 CEST 2007


Benedict, Michael wrote:

> The instability persists.  I had debugging on, and the debug line in
> spd_sdram.c still prints this value as 0x00000000.

Well, that's odd.  I just got a revision 3.1 board here that, when I follow those steps 
(don't define CFG_DDR_SDRAM_CLK_CNTL and don't set sdram_clk_cntl to 0), it works when 
before it didn't.

So I'm wondering if we should do both:

1. Set CFG_DDR_SDRAM_CLK_CNTL in MPC8349ITX.h
2. Change spd_sdram() to not write 0 if CFG_DDR_SDRAM_CLK_CNTL is not set.

I just don't understand why some boards have the right value on power-up and some don't, 
and why some boards work okay with 0 and others don't.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale




More information about the U-Boot mailing list