Add an EDAC driver for the Synopsys DDR memory controller, used in the Xilinx MPSoC (ZynqMP) devices, to allow monitoring for ECC errors. Note that currently only the compatible string used for the ZynqMP (shared with Linux) is currently supported. Support for other Synopsys core implementations can be added in the future. Signed-off-by: Robert Hancock <robert.hancock@calian.com>
43 lines
955 B
Plaintext
43 lines
955 B
Plaintext
# Copyright (c) 2020 Intel Corp.
|
|
# 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.
|
|
|
|
module = EDAC
|
|
module-str = edac
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif #EDAC
|