From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 12 Aug 2014 11:07:09 -0700 Subject: [U-Boot] enabling ecc on P2041 and QoreIQ familly not valid for memory >= 4GB In-Reply-To: <53D0AE4A.6020901@kontron.com> References: <53C91D25.3030204@kontron.com> <53CEEB6D.30404@freescale.com> <53CF62A8.2010607@kontron.com> <53CFE3AB.7090000@freescale.com> <53D0AE4A.6020901@kontron.com> Message-ID: <53EA57CD.1030907@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/23/2014 11:56 PM, Benoit Sansoni wrote: > York, > > I am going to check out the method that you talk about. > For now the fix allow me to boot our board with 8GB it is a good step > for me. > > Thanks > Benoit > > On 07/23/2014 06:32 PM, York Sun wrote: >> Benoit, >> >> If your interest is in initializing DDR for ECC, you don't have use >> dma_meminit(). There is a better and faster way to do so. All Freescale modern >> DDR controllers support this feature. All you have to do is to define these macros >> >> CONFIG_DDR_ECC >> CONFIG_ECC_INIT_VIA_DDRCONTROLLER >> CONFIG_MEM_INIT_VALUE >> >> There are plenty of example for you to follow. >> >> But again, we should fix the DMA function anyway. >> Benoit, Have you tried my suggestion? York