diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2024-01-10 21:26:53 +0100 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2024-01-31 16:52:15 +0800 |
commit | cbc45cb5964297e682f072e56336288a8b5c881a (patch) | |
tree | e1ef5eff5b4c5e48067632946adea32876a91ba4 /include | |
parent | 465e7e6d506a419ab12ed0817d8f083d43584602 (diff) | |
download | u-boot-cbc45cb5964297e682f072e56336288a8b5c881a.zip u-boot-cbc45cb5964297e682f072e56336288a8b5c881a.tar.gz u-boot-cbc45cb5964297e682f072e56336288a8b5c881a.tar.bz2 |
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 <aurelien@aurel32.net>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/qemu-riscv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index 584559c..2f594bf 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) |