]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: enable SATA disk on QEMU RISC-V
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 4 Nov 2020 11:49:01 +0000 (12:49 +0100)
committerAndes <uboot@andestech.com>
Tue, 17 Nov 2020 07:09:16 +0000 (15:09 +0800)
Allow attaching a virtual SATA disk to QEMU RISC-V by implying
AHCI, AHCI_PCI, CMD_SCSI, DM_SCSI, PCI_INIT_R, SCSI, SCSI_AHCI.

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

index 36d3b68ab92dd3d4ceda7f2a8d5d20f0c15d3877..0818048ba64f4593498049e28419bc3df8ed91d4 100644 (file)
@@ -29,12 +29,15 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        def_bool y
        select GENERIC_RISCV
        select SUPPORT_SPL
+       imply AHCI
        imply SMP
        imply BOARD_LATE_INIT
+       imply PCI_INIT_R
        imply SPL_RAM_SUPPORT
        imply SPL_RAM_DEVICE
        imply CMD_PCI
        imply CMD_POWEROFF
+       imply CMD_SCSI
        imply CMD_PING
        imply CMD_EXT2
        imply CMD_EXT4
@@ -43,11 +46,15 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        imply DOS_PARTITION
        imply ISO_PARTITION
        imply EFI_PARTITION
+       imply SCSI_AHCI
+       imply AHCI_PCI
        imply E1000
        imply NVME
        imply PCI
        imply DM_PCI
        imply PCIE_ECAM_GENERIC
+       imply SCSI
+       imply DM_SCSI
        imply SYS_NS16550
        imply SIFIVE_SERIAL
        imply SYSRESET