Commit d244c610 authored by Marvin Lin's avatar Marvin Lin Committed by Borislav Petkov (AMD)

EDAC/npcm: Add NPCM memory controller driver

Add driver for memory controller present on Nuvoton NPCM SoCs. The
memory controller supports single bit error correction and double bit
error detection.
Signed-off-by: default avatarMarvin Lin <milkfafa@gmail.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230111093245.318745-4-milkfafa@gmail.com
parent a053b7e5
......@@ -7468,6 +7468,14 @@ L: linux-edac@vger.kernel.org
S: Maintained
F: drivers/edac/mpc85xx_edac.[ch]
EDAC-NPCM
M: Marvin Lin <kflin@nuvoton.com>
M: Stanley Chu <yschu@nuvoton.com>
L: linux-edac@vger.kernel.org
S: Maintained
F: Documentation/devicetree/bindings/memory-controllers/nuvoton,npcm-memory-controller.yaml
F: drivers/edac/npcm_edac.c
EDAC-PASEMI
M: Egor Martovetsky <egor@pasemi.com>
L: linux-edac@vger.kernel.org
......
......@@ -550,4 +550,15 @@ config EDAC_ZYNQMP
Xilinx ZynqMP OCM (On Chip Memory) controller. It can also be
built as a module. In that case it will be called zynqmp_edac.
config EDAC_NPCM
tristate "Nuvoton NPCM DDR Memory Controller"
depends on (ARCH_NPCM || COMPILE_TEST)
help
Support for error detection and correction on the Nuvoton NPCM DDR
memory controller.
The memory controller supports single bit error correction, double bit
error detection (in-line ECC in which a section 1/8th of the memory
device used to store data is used for ECC storage).
endif # EDAC
......@@ -84,4 +84,5 @@ obj-$(CONFIG_EDAC_QCOM) += qcom_edac.o
obj-$(CONFIG_EDAC_ASPEED) += aspeed_edac.o
obj-$(CONFIG_EDAC_BLUEFIELD) += bluefield_edac.o
obj-$(CONFIG_EDAC_DMC520) += dmc520_edac.o
obj-$(CONFIG_EDAC_NPCM) += npcm_edac.o
obj-$(CONFIG_EDAC_ZYNQMP) += zynqmp_edac.o
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment