public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Fix memory initialization on MPC8349ITX
@ 2007-04-24 16:51 Benedict, Michael
  2007-04-24 18:04 ` Timur Tabi
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Benedict, Michael @ 2007-04-24 16:51 UTC (permalink / raw)
  To: u-boot

Hello,
	This is my first patch submission to u-boot, so let me know if
the format needs to be updated.  Also, I don't know how formal the
sign-off procedure has to be.  This patch was suggested by Bruce Leonard
in his 2007/4/20 email to the list, and so I am counting that as
sign-off.  This patch is against the MPC83xx custodian tree, so I
apologize if this should instead be sent directly to Kim Phillips.

Define CFG_DDR_SDRAM_CLK_CNTL for the MPC8349ITX.  This allows
ddr->sdram_clk_cntl to be properly initialized, like it was before
commit f6eda7f80ccc13d658020268c507d7173cf2e8aa to
cpu/mpc83xx/spd_sdram.c

Patch initially suggested by Timur Tabi and implemented / tested by
Bruce Leonard.

Signed-off-by: Bruce Leonard <Bruce_Leonard@selinc.com>

diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index 37bbfb3..e0c0227 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -149,6 +149,8 @@
  */
 #define CFG_DDR_BASE           0x00000000      /* DDR is system
memory*/
 #define CFG_SDRAM_BASE                 CFG_DDR_BASE
+#define CFG_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \
+                               DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
 #define CFG_DDR_SDRAM_BASE     CFG_DDR_BASE
 #define CFG_83XX_DDR_USES_CS0
 #define CFG_MEMTEST_START      0x1000          /* memtest region */

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-04-26 14:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 16:51 [U-Boot-Users] [PATCH] Fix memory initialization on MPC8349ITX Benedict, Michael
2007-04-24 18:04 ` Timur Tabi
2007-04-24 18:38   ` Benedict, Michael
2007-04-24 18:43     ` Timur Tabi
2007-04-24 18:50       ` Benedict, Michael
2007-04-24 18:54         ` Timur Tabi
2007-04-25 14:09 ` Kim Phillips
2007-04-25 22:22 ` Timur Tabi
2007-04-25 22:54   ` Timur Tabi
2007-04-26 13:20     ` Benedict, Michael
2007-04-26 14:33       ` Timur Tabi
2007-04-26 14:36         ` Benedict, Michael
2007-04-26 14:39           ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox