From: Aurelien Jarno Date: Wed, 10 Jan 2024 20:26:53 +0000 (+0100) Subject: riscv: qemu: enable booting on a second virtio device X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=cbc45cb5964297e682f072e56336288a8b5c881a;p=u-boot.git riscv: qemu: enable booting on a second virtio device QEMU RISC-V supports multiple virtio devices, but only tries to boot to the first one. Enable support for a second virtio device, that is useful for instance to boot on a disk image + an installer. Ideally that should be made dynamic, but that's a first step. Signed-off-by: Aurelien Jarno Reviewed-by: Leo Yu-Chi Liang --- diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index 584559cfa3..2f594bfcfd 100644 --- a/include/configs/qemu-riscv.h +++ b/include/configs/qemu-riscv.h @@ -23,6 +23,7 @@ #define BOOT_TARGET_DEVICES(func) \ func(VIRTIO, virtio, 0) \ + func(VIRTIO, virtio, 1) \ func(SCSI, scsi, 0) \ func(DHCP, dhcp, na)