u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 7/7] Fix parameters to support RDIMM for P2020DS
Date: Fri, 27 Aug 2010 16:25:56 -0500	[thread overview]
Message-ID: <1282944356-4020-7-git-send-email-yorksun@freescale.com> (raw)
In-Reply-To: <1282944356-4020-1-git-send-email-yorksun@freescale.com>

Signed-off-by: York Sun <yorksun@freescale.com>
---
 arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c |    1 +
 board/freescale/p2020ds/ddr.c            |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c b/arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
index dccb7aa..e82082e 100644
--- a/arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
+++ b/arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
@@ -613,6 +613,7 @@ static void set_ddr_sdram_cfg_2(fsl_ddr_cfg_regs_t *ddr,
 #if defined(CONFIG_FSL_DDR3)
 	md_en = popts->mirrored_dimm;
 #endif
+	rcw_en = popts->registered_dimm_en;
 	qd_en = popts->quad_rank_present ? 1 : 0;
 	ddr->ddr_sdram_cfg_2 = (0
 		| ((frc_sr & 0x1) << 31)
diff --git a/board/freescale/p2020ds/ddr.c b/board/freescale/p2020ds/ddr.c
index 30d640f..9a1b075 100644
--- a/board/freescale/p2020ds/ddr.c
+++ b/board/freescale/p2020ds/ddr.c
@@ -68,7 +68,7 @@ const board_specific_parameters_t board_specific_parameters[][20] = {
 		{550, 680,    1,    4,   0x1f,    3,  0},
 		{681, 850,    1,    4,   0x1f,    4,  0}
 #else
-		{  0, 850,    2,    4,   0x1f,    4,  0},
+		{  0, 850,    2,    6,   0x1f,    4,  0},
 		{  0, 850,    1,    4,   0x1f,    4,  0}
 #endif
 	},
@@ -120,7 +120,7 @@ void fsl_ddr_board_options(memctl_options_t *popts,
 	/* Write leveling override */
 	popts->wrlvl_override = 1;
 	popts->wrlvl_sample = 0xa;
-	popts->wrlvl_start = 0x7;
+	popts->wrlvl_start = 0x8;
 	/* Rtt and Rtt_WR override */
 	popts->rtt_override = 1;
 	popts->rtt_override_value = DDR3_RTT_120_OHM;
-- 
1.7.0.4

  parent reply	other threads:[~2010-08-27 21:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-27 21:25 [U-Boot] [PATCH 1/7] fix dma for 36bit addressing York Sun
2010-08-27 21:25 ` [U-Boot] [PATCH 2/7] Expand POST memory test to support arch-depended implementation York Sun
2010-08-29  8:56   ` Wolfgang Denk
2010-08-30 19:46     ` Scott Wood
2010-09-02  7:48       ` Wolfgang Denk
2010-09-02  7:54         ` Bas Mevissen
2010-08-27 21:25 ` [U-Boot] [PATCH 3/7] Add memory test feature for mpc85xx POST York Sun
2010-08-28 20:20   ` Wolfgang Denk
2010-08-27 21:25 ` [U-Boot] [PATCH 4/7] Enabled POST for generic mpc85xx York Sun
2010-08-29  8:56   ` Wolfgang Denk
2010-08-27 21:25 ` [U-Boot] [PATCH 5/7] Enable POST memory test for corenet_ds York Sun
2010-08-29  8:56   ` Wolfgang Denk
2010-08-27 21:25 ` [U-Boot] [PATCH 6/7] Enable POST memory test for P2020DS York Sun
2010-08-27 21:25 ` York Sun [this message]
2010-08-31 16:23   ` [U-Boot] [PATCH 7/7] Fix parameters to support RDIMM " Kumar Gala
2010-08-31 16:23 ` [U-Boot] [PATCH 1/7] fix dma for 36bit addressing Kumar Gala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1282944356-4020-7-git-send-email-yorksun@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).