From: hendrik <hendrik.vastech@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] SDRAM error for RD_EN and 2T_EN
Date: Mon, 16 Feb 2009 11:50:08 +0200 [thread overview]
Message-ID: <499936D0.10503@gmail.com> (raw)
hi all
I am going through the SPD DRAM setup for my mpc8548 board (using DDR2)
- when I run uboot I get an error saying:
Error: DDR_SDRAM_CFG[RD_EN] and DDR_SDRAM_CFG[2T_EN] should not be
set at the same time.
As far as I could tell, neither of these two settings are within my
control:
RD_EN is set by "populate_memctl_options" according to "spd->dimm_type"
(In my case it is a Mini-RDIMM )
2T_EN is set in ddr/options.c and is hard coded as popts->twoT_en = 1;
In U-boot1.2 i found 2T timing is dependant on the CPU version, Should
this still be the case? in spd)sdram.c:
if (pvr != PVR_85xx_REV1) {
#if defined(CONFIG_DDR_2T_TIMING)
/*
* Enable 2T timing by setting sdram_cfg[16].
*/
sdram_cfg |= 0x8000; /* 2T_EN */
#endif
}
What should i do to get rid of this error? My initial efforts show by
hacking RD_en = 0 is the only way to get my board to boot. but this
roes not feel like the way to go. I would appreciate any help.
thanks Hendrik
reply other threads:[~2009-02-16 9:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=499936D0.10503@gmail.com \
--to=hendrik.vastech@gmail.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