[PATCH 017/171] virtio: Add a Kconfig for SPL_VIRTIO
Simon Glass
sjg at chromium.org
Mon Jan 30 15:40:50 CET 2023
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/virtio/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 852f6735b60..410cdf39b67 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -22,6 +22,10 @@ config VIRTIO
This option is selected by any driver which implements the virtio
transport, such as CONFIG_VIRTIO_MMIO or CONFIG_VIRTIO_PCI.
+config SPL_VIRTIO
+ def_bool n
+ depends on SPL
+
config VIRTIO_MMIO
bool "Platform bus driver for memory mapped virtio devices"
select VIRTIO
--
2.39.1.456.gfc5497dd1b-goog
More information about the U-Boot
mailing list