From: LekKit <50500857+LekKit@users.noreply.github.com> Date: Sun, 22 Sep 2024 10:11:00 +0000 (+0300) Subject: riscv: qemu: Enable booting from NVMe X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=aed8febc3de3c730ddb5a0cc1ea52beb37540d37;p=u-boot.git 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 --- diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index 2f594bfcfd..cf4fcb90b0 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) \