zephyr/drivers/mdio/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

45 lines
926 B
Plaintext

# MDIO configuration options
# Copyright (c) 2021 IP-Logix Inc.
# SPDX-License-Identifier: Apache-2.0
#
# MDIO options
#
menuconfig MDIO
bool "Management Data Input/Output (MDIO) drivers"
help
Enable MDIO Driver Configuration
if MDIO
config MDIO_SHELL
bool "MDIO Shell"
depends on SHELL
help
Enable MDIO Shell.
The MDIO shell currently supports scanning and device
read/write.
# Include these first so that any properties (e.g. defaults) below can be
# overridden (by defining symbols in multiple locations)
source "drivers/mdio/Kconfig.esp32"
source "drivers/mdio/Kconfig.sam"
source "drivers/mdio/Kconfig.nxp_s32"
source "drivers/mdio/Kconfig.adin2111"
source "drivers/mdio/Kconfig.gpio"
config MDIO_INIT_PRIORITY
int "Init priority"
default 60
help
MDIO device driver initialization priority.
module = MDIO
module-str = mdio
source "subsys/logging/Kconfig.template.log_config"
endif # MDIO