]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: socfpga: Enable Arria10 OCRAM ECC on startup
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 7 Apr 2016 01:09:42 +0000 (20:09 -0500)
committerBorislav Petkov <bp@suse.de>
Thu, 7 Apr 2016 11:03:02 +0000 (13:03 +0200)
commit2364d423a7b34bd972761eeed1f764c962980c23
tree6c5dd98c207c8f3cc49562f21dcf77c47f661c36
parentc7b4be8db8bc33ec60d21940b3d78b203cdffaac
ARM: socfpga: Enable Arria10 OCRAM ECC on startup

Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be
enabled and memory initialized before data is stored in memory otherwise
the ECC will fail on reads.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@opensource.altera.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux@arm.linux.org.uk
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1459991382-7859-1-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/arm/mach-socfpga/ocram.c