public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Question on ECC SDRAM initialization in PPC4xx
Date: Sun, 6 Aug 2006 08:53:52 +0200	[thread overview]
Message-ID: <200608060853.52747.sr@denx.de> (raw)
In-Reply-To: <1628E43D99629C46988BE46087A3FBB9643423@ep-01.EmbeddedPlanet.local>

Hi Jeff,

On Friday 04 August 2006 19:01, Jeff Mann wrote:
> In the ppc4xx cpu source files, I see that ECC for SDRAM is supported.
> The code checks some settings
> 	((read_spd(11)==2) && (read_spd(6)==40) && (read_spd(14)==8)
> and then enables ECC on the processor.
>
> *Does this automatically detect the presence of a SDRAM chips connected
> in an ECC configuration?* Are additional software configuration settings
> needed before this point to enable ECC?

Please note that the spd_sdram code handles 405 SDRAM and 440 DDR. Your code 
references the 405 SDRAM init code. IIRC, the 440 part of the code doesn't 
seem to support ECC right now.

What are you looking for exactly? For a know to be working ECC init (at least 
for me), please take a look at the non SPD 4xx SDRAM init code 
cpu/ppc4xx/sdram.c. Here you will find code to setup and init the 440 DDR 
controller with and without ECC support (CONFIG_SDRAM_ECC).

Best regards,
Stefan

  reply	other threads:[~2006-08-06  6:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04 17:01 [U-Boot-Users] Question on ECC SDRAM initialization in PPC4xx Jeff Mann
2006-08-06  6:53 ` Stefan Roese [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-07 13:33 Jeff Mann

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=200608060853.52747.sr@denx.de \
    --to=sr@denx.de \
    --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