]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC/altera: Add separate SDRAM EDAC config
authorThor Thayer <thor.thayer@linux.intel.com>
Mon, 25 Feb 2019 18:56:45 +0000 (12:56 -0600)
committerBorislav Petkov <bp@suse.de>
Tue, 26 Feb 2019 15:18:57 +0000 (16:18 +0100)
commit540acea781a94ccbb202ee0f2424c554033a724f
tree37f6e534a18c33d015a212656522d174f5f67459
parent1da92aca5cab22591b5293538a32b13a7c8f1994
EDAC/altera: Add separate SDRAM EDAC config

The CONFIG_ALTERA_EDAC Kconfig symbol always enables the SDRAM EDAC
functionality. On the newer architectures, however, there are cases
where the peripheral EDAC functionality is enabled but SDRAM needs to be
disabled.

Move SDRAM functions so they can be contained inside the conditional
CONFIG. Create new CONFIG option just for SDRAM.

 [ bp: Massage commit message. ]

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: dinguyen@kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: linux@armlinux.org.uk
Link: https://lkml.kernel.org/r/1551121006-4657-2-git-send-email-thor.thayer@linux.intel.com
drivers/edac/Kconfig
drivers/edac/altera_edac.c