]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: qemu: enable distro boot from scsi
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 1 Dec 2020 16:30:26 +0000 (17:30 +0100)
committerAndes <uboot@andestech.com>
Mon, 14 Dec 2020 07:16:48 +0000 (15:16 +0800)
Booting via distro boot fails for:

    qemu-system-riscv64
    -drive if=none,file=sct-riscv64.img,format=raw,id=mydisk \
    -device ich9-ahci,id=ahci -device ide-hd,drive=mydisk,bus=ahci.0

Enable distro booting from an attached SCSI disk.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
include/configs/qemu-riscv.h

index aed9a4ae9906cd83da891fe3c296dccf07dd4942..a2f33587c2418da0f34010fde8e9a0143e42190c 100644 (file)
@@ -35,6 +35,7 @@
 #define BOOT_TARGET_DEVICES(func) \
        func(QEMU, qemu, na) \
        func(VIRTIO, virtio, 0) \
+       func(SCSI, scsi, 0) \
        func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>