Skip to content

Commit 7e52a03

Browse files
Thor Thayersuryasaimadhu
authored andcommitted
EDAC, altera: Do not build it as a module
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 <[email protected]> Cc: [email protected] Cc: Takashi Iwai <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
1 parent b787f68 commit 7e52a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/edac/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ config EDAC_OCTEON_PCI
377377
Cavium Octeon family of SOCs.
378378

379379
config EDAC_ALTERA_MC
380-
tristate "Altera SDRAM Memory Controller EDAC"
381-
depends on EDAC_MM_EDAC && ARCH_SOCFPGA
380+
bool "Altera SDRAM Memory Controller EDAC"
381+
depends on EDAC_MM_EDAC=y && ARCH_SOCFPGA
382382
help
383383
Support for error detection and correction on the
384384
Altera SDRAM memory controller. Note that the

0 commit comments

Comments
 (0)