EDAC, altera: Add register offset for ECC Error Inject
authorThor Thayer <tthayer@opensource.altera.com>
Mon, 21 Mar 2016 16:01:42 +0000 (11:01 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 29 Mar 2016 08:20:48 +0000 (10:20 +0200)
commit811fce4f2a7aea0cd93815d0eaf42fbcc98bd930
tree13e63c033f477eedbeac53fa878c7597f58a3c1f
parent27439a1a632d9936159863fb11f5bc4d55eaab04
EDAC, altera: Add register offset for ECC Error Inject

In preparation for the Arria10 peripheral ECCs, add a register offset
from the ECC base to the private data structure to index to the error
injection register.

Signed-off-by: Thor Thayer <tthayer@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/1458576106-24505-6-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c
drivers/edac/altera_edac.h