EDAC, altera: Abstract ECC Enable Mask in check_deps()
authorThor Thayer <tthayer@opensource.altera.com>
Mon, 21 Mar 2016 16:01:41 +0000 (11:01 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 29 Mar 2016 08:17:32 +0000 (10:17 +0200)
commit27439a1a632d9936159863fb11f5bc4d55eaab04
tree322dc421bf01792fc6e750bab8f281ee63ed78bd
parent328ca7ae81dd842ff56b35f1e8422e6af1c80c14
EDAC, altera: Abstract ECC Enable Mask in check_deps()

In preparation for the Arria10 peripheral ECCs, use the ECC Enable mask
in place of hard coded masks in the check dependency functions.

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