public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Charles J Gillan <C.Gillan@ecit.qub.ac.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] 85xx - DDR with ECC: Why DMA ?
Date: Thu, 11 Aug 2005 15:45:05 +0100	[thread overview]
Message-ID: <E1E3ELh-000614-Gn@mail.sourceforge.net> (raw)

I have a question about the procedure 
 
  ddr_enable_ecc()

included in the U-Boot build only if 

    CONFIG_DDR_ECC is defined 

    CONFIG_ECC_INIT_VIA_DDRCONTROLLER is not defined

The routine is found in file 

     ./cpu/mpc85xx/spd_sdram.c

so is for the 8540 and 8560 products.

Most of the work in the routine seems to concern programming the 
DMA registers rather than setting the DDR "enable" flag.

Why is this DMA configuration an essential step when ECC is used and 
apparently not necessary when it is not used? I can?t see the link 
between the two.  

Thanks,

Charles. 
  

--------------------------------------------------------------------------
Dr Charles J Gillan
The Institute of Electronics, Communications and 
       Information Technology (ECIT),???????????????
Queen's University Belfast, Titanic Quarter
Queen?s Road, Queen?s Island,  Belfast, BT3 9DT
Northern Ireland, UK
?
Tel:  +44 (0) 2890 971847
Fax: +44 (0) 2890 971702
??
--------------------------------------------------------------------------

             reply	other threads:[~2005-08-11 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-11 14:45 Charles J Gillan [this message]
2005-08-11 16:20 ` [U-Boot-Users] 85xx - DDR with ECC: Why DMA ? Clemens Koller

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=E1E3ELh-000614-Gn@mail.sourceforge.net \
    --to=c.gillan@ecit.qub.ac.uk \
    --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