edac: Add Zephyr EDAC configuration
Add Kconfig for EDAC. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
6caec8cb4f
commit
d4d278da0a
3 changed files with 39 additions and 0 deletions
|
@ -53,3 +53,4 @@ add_subdirectory_ifdef(CONFIG_ENTROPY_HAS_DRIVER entropy)
|
|||
add_subdirectory_ifdef(CONFIG_SYS_CLOCK_EXISTS timer)
|
||||
add_subdirectory_ifdef(CONFIG_NEURAL_NET_ACCEL neural_net)
|
||||
add_subdirectory_ifdef(CONFIG_PTP_CLOCK ptp_clock)
|
||||
add_subdirectory_ifdef(CONFIG_EDAC edac)
|
||||
|
|
|
@ -107,4 +107,6 @@ source "drivers/virtualization/Kconfig"
|
|||
|
||||
source "drivers/psci/Kconfig"
|
||||
|
||||
source "drivers/edac/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
|
36
drivers/edac/Kconfig
Normal file
36
drivers/edac/Kconfig
Normal file
|
@ -0,0 +1,36 @@
|
|||
# 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 "Enable 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 "Enable EDAC Shell"
|
||||
depends on SHELL
|
||||
default y if SHELL
|
||||
help
|
||||
Enable EDAC shell for debugging EDAC.
|
||||
|
||||
config EDAC_IBECC
|
||||
bool "In-Band ECC (IBECC)"
|
||||
depends on X86
|
||||
help
|
||||
This option selects In-Band ECC (IBECC) IP support.
|
||||
|
||||
module = EDAC
|
||||
module-str = edac
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
endif #EDAC
|
Loading…
Add table
Add a link
Reference in a new issue