EDAC: Add Nuvoton NPCM7xx EDAC driver
Subsystems (2)
PATCH v2 1/1 EDAC: Add Nuvoton NPCM7xx EDAC driver
Add support for the Nuvoton NPCM7xx SoC EDAC driver
Signed-off-by George Hung <[email protected]>
---v1->v2:
* Change CONFIG_EDAC_NUVOTON as CONFIG_EDAC_NPCM7XX
* Change ecc_synd to ecc_id (typo)
* Move 'enable interrupt' to the last stage of irq function
* Add the bit definition for ECC interrupt bitwise value
drivers/edac/Kconfig | 7 + drivers/edac/Makefile | 2 + drivers/edac/npcm7xx_edac.c | 424 ++++++++++++++++++++++++++++++++++++ 3 files changed, 433 insertions(+) create mode 100644 drivers/edac/npcm7xx_edac.c
drivers/edac/Kconfig +7 -0
@@ -460,4 +460,11 @@ config EDAC_TI Support for error detection and correction on the TI SoCs. +config EDAC_NPCM7XX + tristate "Nuvoton NPCM7xx DDR Memory Controller" + depends on ARCH_NPCM7XX + help + Support for error detection and correction on the + Nuvoton NPCM7xx DDR memory controller. + endif # EDAC
drivers/edac/Makefile +2 -0
@@ -77,3 +77,5 @@ obj-$(CONFIG_EDAC_ALTERA) += altera_edac.o obj-$(CONFIG_EDAC_SYNOPSYS) += synopsys_edac.o obj-$(CONFIG_EDAC_XGENE) += xgene_edac.o obj-$(CONFIG_EDAC_TI) += ti_edac.o + +obj-$(CONFIG_EDAC_NPCM7XX) += npcm7xx_edac.o
drivers/edac/npcm7xx_edac.c new file +424 -0
424 lines not on this page · raw message
Signature · 1 line
2.21.0