1# Copyright (c) 2020 Intel Corp.
2# Copyright 2025 NXP
3# SPDX-License-Identifier: Apache-2.0
4#
5# EDAC configuration options
6
7menuconfig EDAC
8	bool "Error Detection and Correction (EDAC) drivers"
9	help
10	  Enable Error Detection and Correction (EDAC) driver.
11
12if EDAC
13
14config EDAC_ERROR_INJECT
15	bool "EDAC Error Injection mechanism"
16	help
17	  Enable Error injection capability for test error checking
18	  and reporting. Should not be enabled in production system.
19
20config EDAC_SHELL
21	bool "EDAC Shell"
22	depends on SHELL
23	help
24	  Enable EDAC shell for debugging EDAC.
25
26config EDAC_IBECC
27	bool "In-Band ECC (IBECC)"
28	depends on X86 && PCIE
29	help
30	  This option selects In-Band ECC (IBECC) IP support.
31
32config EDAC_SYNOPSYS
33	bool "Synopsis DDR controller EDAC driver"
34	default y
35	depends on DT_HAS_XLNX_ZYNQMP_DDRC_2_40A_ENABLED
36	help
37	  Enable the Synopsys DDR controller EDAC driver.
38
39source "drivers/edac/Kconfig.mcux_erm"
40module = EDAC
41module-str = edac
42source "subsys/logging/Kconfig.template.log_config"
43
44endif #EDAC
45