summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLekKit <[email protected]>2024-09-22 13:11:00 +0300
committerLeo Yu-Chi Liang <[email protected]>2024-10-28 16:11:33 +0800
commitaed8febc3de3c730ddb5a0cc1ea52beb37540d37 (patch)
treef76d6fc8b723fab9861e98df88360522a1a54e68 /include
parent8e3d94f7715c5465fb5c120e0681bb6b2cd635ad (diff)
riscv: qemu: Enable booting from NVMe
QEMU supports NVMe devices, but U-Boot only tries to boot from Virtio. This is problematic when explicitly using NVMe, so fix that. Additionally, RVVM virtual machine is almost fully compatible with QEMU, except it only implements NVMe drives instead of VirtIO. Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/qemu-riscv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h
index 2f594bfcfd6..cf4fcb90b04 100644
--- a/include/configs/qemu-riscv.h
+++ b/include/configs/qemu-riscv.h
@@ -22,6 +22,7 @@
"stderr=serial,vidconsole\0"
#define BOOT_TARGET_DEVICES(func) \
+ func(NVME, nvme, 0) \
func(VIRTIO, virtio, 0) \
func(VIRTIO, virtio, 1) \
func(SCSI, scsi, 0) \