
At present we rely on this not existing to avoid building virtio for SPL.
But with the new split configs this does not work. Add a separate Kconfig instead.
Signed-off-by: Simon Glass sjg@chromium.org ---
drivers/virtio/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 863c3fbe029..2ac98edff58 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig @@ -22,6 +22,12 @@ 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 + bool + help + This option is selected by any driver which implements the virtio + transport, such as CONFIG_VIRTIO_MMIO or CONFIG_VIRTIO_PCI. + config VIRTIO_MMIO bool "Platform bus driver for memory mapped virtio devices" select VIRTIO