summaryrefslogtreecommitdiffstats
path: root/drivers/edac/Kconfig
diff options
context:
space:
mode:
authorThor Thayer <tthayer@opensource.altera.com>2014-09-03 10:27:54 -0500
committerDinh Nguyen <dinguyen@opensource.altera.com>2014-09-04 13:41:46 -0500
commit71bcada88b0f3c7f11fa5b8a4b30ae66dbfabbf3 (patch)
tree58168841f8d78f888eb40b6e69d01abe17545064 /drivers/edac/Kconfig
parent52addcf9d6669fa439387610bc65c92fa0980cef (diff)
downloadop-kernel-dev-71bcada88b0f3c7f11fa5b8a4b30ae66dbfabbf3.zip
op-kernel-dev-71bcada88b0f3c7f11fa5b8a4b30ae66dbfabbf3.tar.gz
edac: altera: Add Altera SDRAM EDAC support
This patch adds support for the CycloneV and ArriaV SDRAM controllers. Correction and reporting of SBEs, Panic on DBEs. There was a discussion thread on whether this driver should be an mfd driver or just make use of syscon, which is already a mfd. Ultimately, the decision to use a simple syscon interface was reached.[1] [1] https://lkml.org/lkml/2014/7/30/514 [dinguyen] Fixed Kconfig to have EDAC_ALTERA_MC as a tristate to prevent a build failure for allmodconfig. Signed-off-by: Thor Thayer <tthayer@opensource.altera.com> Acked-by: Borislav Petkov <bp@suse.de> [dinguyen] cleaned up commit message Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r--drivers/edac/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index fd89ca9..7072c28 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -376,4 +376,13 @@ config EDAC_OCTEON_PCI
Support for error detection and correction on the
Cavium Octeon family of SOCs.
+config EDAC_ALTERA_MC
+ tristate "Altera SDRAM Memory Controller EDAC"
+ depends on EDAC_MM_EDAC && ARCH_SOCFPGA
+ help
+ Support for error detection and correction on the
+ Altera SDRAM memory controller. Note that the
+ preloader must initialize the SDRAM before loading
+ the kernel.
+
endif # EDAC
OpenPOWER on IntegriCloud