Files
zephyr/drivers/virtio/Kconfig
Benjamin Cabé b48ef99495 drivers: virtio: prevent Kconfigs for logging from bleeding
CONFIG_VIRTIO_LOG_* options shoul be gated by the main VIRTIO Kconfig.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-24 13:18:28 -04:00

30 lines
580 B
Plaintext

# Copyright (c) 2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
config VIRTIO
bool "support for VIRTIO"
help
Enable options for VIRTIO
if VIRTIO
module = VIRTIO
module-str = VIRTIO
source "subsys/logging/Kconfig.template.log_config"
config VIRTIO_PCI
bool "support for VIRTIO over PCI"
default y
depends on DT_HAS_VIRTIO_PCI_ENABLED
help
Enable options for VIRTIO over PCI
config VIRTIO_MMIO
bool "support for VIRTIO over MMIO"
default y
depends on DT_HAS_VIRTIO_MMIO_ENABLED
help
Enable options for VIRTIO over MMIO
endif # VIRTIO