]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC, altera: Fix peripheral warnings for Cyclone5
authorThor Thayer <thor.thayer@linux.intel.com>
Wed, 5 Apr 2017 18:01:02 +0000 (13:01 -0500)
committerBorislav Petkov <bp@suse.de>
Thu, 6 Apr 2017 09:42:38 +0000 (11:42 +0200)
commit44560c6c1e13608ae49fc747c01611a6a6cca4cd
tree80c40380a57553b80f93f1ddac785e239ce8758a
parent67cc84d263e10bd09cfc8d767705ff58fd612ef6
EDAC, altera: Fix peripheral warnings for Cyclone5

The peripherals' RAS functionality only exist on the Arria10 SoCFPGA.
The Cyclone5 initialization generates EDAC warnings when the peripherals
aren't found in the device tree. Fix by checking for Arria10 in the init
functions.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1491415262-5018-1-git-send-email-thor.thayer@linux.intel.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c