EDAC/altera: Initialize peripheral FIFOs in probe()
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 26 Mar 2019 21:29:31 +0000 (16:29 -0500)
committerBorislav Petkov <bp@suse.de>
Fri, 29 Mar 2019 10:46:23 +0000 (11:46 +0100)
commit788586efd116d6d7d05985881eda503333e702b4
tree09fff12af7661631331f3d3667cfa308734a7cfd
parent436b0a583af0497b4b84cb73c12f8bd620f868af
EDAC/altera: Initialize peripheral FIFOs in probe()

The FIFO memory and ECC initialization doesn't need to be
done as a separate operation early in the startup.

Improve the Arria10 and Stratix10 peripheral FIFO init
by initializing memory and enabling ECC as part of the
device driver initialization.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: https://lkml.kernel.org/r/1553635771-32693-2-git-send-email-thor.thayer@linux.intel.com
drivers/edac/altera_edac.c