Add edac driver for NXP's ERM and EIM peripherals. It can inject ECC error to specific channel within EIM and then report the error address, syndrome and count within ERM. Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
45 lines
1015 B
Plaintext
45 lines
1015 B
Plaintext
# Copyright (c) 2020 Intel Corp.
|
|
# Copyright 2025 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# EDAC configuration options
|
|
|
|
menuconfig EDAC
|
|
bool "Error Detection and Correction (EDAC) drivers"
|
|
help
|
|
Enable Error Detection and Correction (EDAC) driver.
|
|
|
|
if EDAC
|
|
|
|
config EDAC_ERROR_INJECT
|
|
bool "EDAC Error Injection mechanism"
|
|
help
|
|
Enable Error injection capability for test error checking
|
|
and reporting. Should not be enabled in production system.
|
|
|
|
config EDAC_SHELL
|
|
bool "EDAC Shell"
|
|
depends on SHELL
|
|
help
|
|
Enable EDAC shell for debugging EDAC.
|
|
|
|
config EDAC_IBECC
|
|
bool "In-Band ECC (IBECC)"
|
|
depends on X86 && PCIE
|
|
help
|
|
This option selects In-Band ECC (IBECC) IP support.
|
|
|
|
config EDAC_SYNOPSYS
|
|
bool "Synopsis DDR controller EDAC driver"
|
|
default y
|
|
depends on DT_HAS_XLNX_ZYNQMP_DDRC_2_40A_ENABLED
|
|
help
|
|
Enable the Synopsys DDR controller EDAC driver.
|
|
|
|
source "drivers/edac/Kconfig.mcux_erm"
|
|
module = EDAC
|
|
module-str = edac
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif #EDAC
|