EDAC, altera: Do not build it as a module
authorThor Thayer <tthayer@opensource.altera.com>
Fri, 17 Apr 2015 22:16:14 +0000 (17:16 -0500)
committerBorislav Petkov <bp@suse.de>
Sun, 3 May 2015 09:56:52 +0000 (11:56 +0200)
The SDRAM EDAC requires SDRAM configuration/initialization before SDRAM
is accessed (in the preloader) and therefore before Linux is loaded.
Having a module compile is not desired so force to be built into kernel.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: mchehab@osg.samsung.com
Cc: Takashi Iwai <tiwai@suse.de>
Link: http://lkml.kernel.org/r/1429308974-26380-3-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/Kconfig

index cb59619df23ffdac4bb412a270c2e2da0c9566fe..2d2530cdf99d6efbd9505162742b9c90db812c2d 100644 (file)
@@ -377,8 +377,8 @@ config EDAC_OCTEON_PCI
          Cavium Octeon family of SOCs.
 
 config EDAC_ALTERA_MC
-       tristate "Altera SDRAM Memory Controller EDAC"
-       depends on EDAC_MM_EDAC && ARCH_SOCFPGA
+       bool "Altera SDRAM Memory Controller EDAC"
+       depends on EDAC_MM_EDAC=y && ARCH_SOCFPGA
        help
          Support for error detection and correction on the
          Altera SDRAM memory controller. Note that the