aboutsummaryrefslogtreecommitdiff
path: root/hw/loongarch/Kconfig
diff options
context:
space:
mode:
authorXiaojuan Yang <yangxiaojuan@loongson.cn>2022-06-06 20:43:27 +0800
committerRichard Henderson <richard.henderson@linaro.org>2022-06-06 18:14:13 +0000
commitdc93b8df8a166d2df0c007affd49bcfd93e77391 (patch)
tree7a169971b3f361130c139ac45ed3b3a1b2801fc2 /hw/loongarch/Kconfig
parent256309e1884898a9cedb44abab0f15c4843e06f6 (diff)
downloadqemu-dc93b8df8a166d2df0c007affd49bcfd93e77391.zip
qemu-dc93b8df8a166d2df0c007affd49bcfd93e77391.tar.gz
qemu-dc93b8df8a166d2df0c007affd49bcfd93e77391.tar.bz2
hw/loongarch: Add some devices support for 3A5000.
1.Add uart,virtio-net,vga and usb for 3A5000. 2.Add irq set and map for the pci host. Non pci device use irq 0-16, pci device use 16-64. 3.Add some unimplented device to emulate guest unused memory space. Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn> Acked-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220606124333.2060567-38-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/loongarch/Kconfig')
-rw-r--r--hw/loongarch/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig
index f779087..8552ff4 100644
--- a/hw/loongarch/Kconfig
+++ b/hw/loongarch/Kconfig
@@ -2,6 +2,13 @@ config LOONGARCH_VIRT
bool
select PCI
select PCI_EXPRESS_GENERIC_BRIDGE
+ imply VGA_PCI
+ imply VIRTIO_VGA
+ imply PCI_DEVICES
+ select ISA_BUS
+ select SERIAL
+ select SERIAL_ISA
+ select VIRTIO_PCI
select LOONGARCH_IPI
select LOONGARCH_PCH_PIC
select LOONGARCH_PCH_MSI