zephyr/drivers/peci/Kconfig
Henrik Brix Andersen 2ff049d652 drivers: peci: move CONFIG_PECI_INTERRUPT_DRIVEN inside if statement
Move CONFIG_PECI_INTERRUPT_DRIVEN inside the CONFIG_PECI if statement to
avoid showing it in menuconfig when PECI drivers are disabled.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-04-04 13:49:52 +02:00

36 lines
856 B
Plaintext

# PECI configuration options
# Copyright (c) 2020 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig PECI
bool "Platform Environment Control Interface (PECI) drivers"
help
Include PECI drivers in system config.
if PECI
source "drivers/peci/Kconfig.xec"
source "drivers/peci/Kconfig.it8xxx2"
source "drivers/peci/Kconfig.npcx"
module = PECI
module-str = peci
source "subsys/logging/Kconfig.template.log_config"
config PECI_INIT_PRIORITY
int "PECI driver init priority"
default 40
help
PECI device driver initialization priority.
There isn't any critical component relying on this priority at
the moment.
config PECI_INTERRUPT_DRIVEN
bool "PECI driver interrupt support"
help
This is an option to be enabled by individual peci driver
to indicate that the driver and hardware supports interrupts.
endif # PECI