EDAC, altera: Add register offset for ECC Enable
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 31 Mar 2016 18:48:02 +0000 (13:48 -0500)
committerBorislav Petkov <bp@suse.de>
Sat, 2 Apr 2016 11:38:57 +0000 (13:38 +0200)
commit943ad9179836b12433beadfde2d03b215c4367d6
treeed599a229e1e69f7a342c3d509e6222a94e5acb4
parente17ced2cb61ac63efb5ab54fee8e45aaa437c874
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>
drivers/edac/altera_edac.c
drivers/edac/altera_edac.h