This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <s...@chromium.org>
---

(no changes since v1)

 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.519.gcb327c4b5f-goog

Reply via email to