EDAC, altera: Make OCRAM ECC dependency check generic
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 31 Mar 2016 18:48:03 +0000 (13:48 -0500)
committerBorislav Petkov <bp@suse.de>
Sat, 2 Apr 2016 11:47:15 +0000 (13:47 +0200)
commitaa1f06dcc0e58e1a1b5118fc265418a2970e11aa
treed45bf04ae3484cee544e425589f90097b8263afc
parent943ad9179836b12433beadfde2d03b215c4367d6
EDAC, altera: Make OCRAM ECC dependency check generic

In preparation for the Arria10 peripheral ECCs, move the OCRAM ECC
dependency check into the general ECC area since this same function can
be used by other memories.

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