zephyr/lib/acpi/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

52 lines
873 B
Plaintext

# ACPI configuration options
# Copyright (c) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig ACPI
bool "ACPI support"
help
This option enables support for ACPI driver.
if ACPI
module = ACPI
module-str = acpi
source "subsys/logging/Kconfig.template.log_config"
if PCIE_PRT
config ACPI_PRT_BUS_NAME
string "ACPI name of PCI bus"
default "_SB.PCI0"
help
ACPI name of PCI bus.
config ACPI_MAX_PRT_ENTRY
int "Size of PRT buffer"
default 4096
help
Size of PRT table buffer.
endif # PCIE_PRT
config ACPI_SHELL
bool "ACPI command Shell"
depends on SHELL
help
Enable commands for debugging ACPI using the built-in shell.
config ACPI_DEV_MAX
int "maximum child devices"
default 1000
help
maximum acpi child devices.
endif # ACPI
config ACPI_HID_LEN_MAX
int "Size of HID name"
default 12
help
Size of HID string.