diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-10 15:53:42 +0200 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-10-13 10:03:47 +0800 |
commit | 3866e2f98ef4f9b84d920af31a98c4c642ff8d77 (patch) | |
tree | 9b4dcda2289c695a38efe00f22b8834a32b1887e /hw | |
parent | cb041aed1b5befaaa563aaf75e094412b2063fec (diff) | |
download | qemu-3866e2f98ef4f9b84d920af31a98c4c642ff8d77.zip qemu-3866e2f98ef4f9b84d920af31a98c4c642ff8d77.tar.gz qemu-3866e2f98ef4f9b84d920af31a98c4c642ff8d77.tar.bz2 |
hw/loongarch/virt: Remove unused ISA Bus
The LoongArch 'virt' machine doesn't use its ISA I/O region.
If a ISA device were to be mapped there, there is no support
for ISA IRQ. Unlikely useful. Simply remove.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20231010135342.40219-3-philmd@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/loongarch/Kconfig | 1 | ||||
-rw-r--r-- | hw/loongarch/virt.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig index fcd5f2b..5727efe 100644 --- a/hw/loongarch/Kconfig +++ b/hw/loongarch/Kconfig @@ -5,7 +5,6 @@ config LOONGARCH_VIRT imply VIRTIO_VGA imply PCI_DEVICES imply NVDIMM - select ISA_BUS select SERIAL select VIRTIO_PCI select PLATFORM_BUS diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c index c6f64e9..c1791f8 100644 --- a/hw/loongarch/virt.c +++ b/hw/loongarch/virt.c @@ -878,11 +878,6 @@ static void loongarch_init(MachineState *machine) machine_memory_devices_init(machine, device_mem_base, device_mem_size); } - /* Add isa io region */ - memory_region_init_alias(&lams->isa_io, NULL, "isa-io", - get_system_io(), 0, VIRT_ISA_IO_SIZE); - memory_region_add_subregion(address_space_mem, VIRT_ISA_IO_BASE, - &lams->isa_io); /* load the BIOS image. */ loongarch_firmware_init(lams); |