]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: socfpga: Initialize Arria10 OCRAM ECC on startup
authorThor Thayer <tthayer@opensource.altera.com>
Mon, 11 Apr 2016 17:01:34 +0000 (12:01 -0500)
committerBorislav Petkov <bp@suse.de>
Sat, 23 Apr 2016 17:22:22 +0000 (19:22 +0200)
commitd5e9c4475002c700f6e0b006c0aad1b55aee46be
tree852071fdacd12ee51b8880632a9b431512acb602
parent22b237b6b04aa3ec9936afc13d5ce625f3e4872f
ARM: socfpga: Initialize Arria10 OCRAM ECC on startup

Initialize ECC for Arria10 On-Chip RAM on machine startup. The OCRAM
memory must be initialized before data is stored in memory otherwise the
ECC will fail on reads. The previous check-in

  56191bf3fa5c ("ARM: socfpga: Enable Arria10 OCRAM ECC on startup")

added the OCRAM enable and initialization code but was not called on
startup.

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