aboutsummaryrefslogtreecommitdiff
path: root/board/emulation/qemu-riscv
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-11-04 12:49:01 +0100
committerAndes2020-11-17 15:09:16 +0800
commit2873ca2a7855d4a6f2c6cf931cb5a1e8dfce43c0 (patch)
tree40490460def42aad1ae2b44e549d047c10de0cd2 /board/emulation/qemu-riscv
parent19dd274b5680940974977c0372e85b91bcbc006e (diff)
riscv: enable SATA disk on QEMU RISC-V
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>
Diffstat (limited to 'board/emulation/qemu-riscv')
-rw-r--r--board/emulation/qemu-riscv/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
index 36d3b68ab92..0818048ba64 100644
--- a/board/emulation/qemu-riscv/Kconfig
+++ b/board/emulation/qemu-riscv/Kconfig
@@ -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