zephyr/drivers/edac/Kconfig
Henrik Brix Andersen c0c8952739 shell: do not enable subsystem/driver shell modules by default
Do not enable subsystem/driver shell modules by default and stop abusing
CONFIG_SHELL_MINIMAL, which is internal to the shell subsystem, to decide
when to enable a driver shell.

The list of shell modules has grown considerably through the
years. Enabling CONFIG_SHELL for doing e.g. an interactive debug session
leads to a large number of shell modules also being enabled unless
explicitly disabled, which again leads to non-negligible increases in
RAM/ROM usage.

This commit attempts to establish a policy of subsystem/driver shell
modules being disabled by default, requiring the user/application to
explicitly enable only those needed.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-11-20 09:21:40 +01:00

36 lines
771 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.
module = EDAC
module-str = edac
source "subsys/logging/Kconfig.template.log_config"
endif #EDAC