Re: [PATCH 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-03-31 Thread Thor Thayer
Hi Dinh, On 03/30/2016 12:11 PM, Dinh Nguyen wrote: On Wed, 30 Mar 2016, ttha...@opensource.altera.com wrote: From: Thor Thayer Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC

Re: [PATCH 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-03-31 Thread Thor Thayer
Hi Dinh, On 03/30/2016 12:11 PM, Dinh Nguyen wrote: On Wed, 30 Mar 2016, ttha...@opensource.altera.com wrote: From: Thor Thayer Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads.

Re: [PATCH 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-03-30 Thread Dinh Nguyen
On Wed, 30 Mar 2016, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be > enabled before data is stored in memory otherwise the ECC will fail > on reads. > > Signed-off-by: Thor

Re: [PATCH 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-03-30 Thread Dinh Nguyen
On Wed, 30 Mar 2016, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be > enabled before data is stored in memory otherwise the ECC will fail > on reads. > > Signed-off-by: Thor Thayer > --- [snip] > + >

[PATCH 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-03-30 Thread tthayer
From: Thor Thayer Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer --- arch/arm/mach-socfpga/core.h

[PATCH 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-03-30 Thread tthayer
From: Thor Thayer Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be enabled before data is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer --- arch/arm/mach-socfpga/core.h|1 + arch/arm/mach-socfpga/ocram.c | 22