From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles J Gillan Date: Thu, 11 Aug 2005 15:45:05 +0100 Subject: [U-Boot-Users] 85xx - DDR with ECC: Why DMA ? Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 ?? --------------------------------------------------------------------------