summaryrefslogtreecommitdiff
path: root/drivers/edac/altera_edac.h
diff options
context:
space:
mode:
authorThor Thayer <tthayer@opensource.altera.com>2016-03-31 21:48:02 +0300
committerBorislav Petkov <bp@suse.de>2016-04-02 14:38:57 +0300
commit943ad9179836b12433beadfde2d03b215c4367d6 (patch)
treeed599a229e1e69f7a342c3d509e6222a94e5acb4 /drivers/edac/altera_edac.h
parente17ced2cb61ac63efb5ab54fee8e45aaa437c874 (diff)
downloadlinux-943ad9179836b12433beadfde2d03b215c4367d6.tar.xz
EDAC, altera: Add register offset for ECC Enable
In preparation for the Arria10 peripheral ECCs, add a register offset from the ECC base to index to the ECC enable 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/1459450087-24792-3-git-send-email-tthayer@opensource.altera.com Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/altera_edac.h')
-rw-r--r--drivers/edac/altera_edac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/altera_edac.h b/drivers/edac/altera_edac.h
index c995388b415b..cb6b2b9079e8 100644
--- a/drivers/edac/altera_edac.h
+++ b/drivers/edac/altera_edac.h
@@ -256,6 +256,7 @@ struct edac_device_prv_data {
void * (*alloc_mem)(size_t size, void **other);
void (*free_mem)(void *p, size_t size, void *other);
int ecc_enable_mask;
+ int ecc_en_ofst;
int ce_set_mask;
int ue_set_mask;
int set_err_ofst;