From 3866e2f98ef4f9b84d920af31a98c4c642ff8d77 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Tue, 10 Oct 2023 15:53:42 +0200 Subject: hw/loongarch/virt: Remove unused ISA Bus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é Reviewed-by: Song Gao Message-Id: <20231010135342.40219-3-philmd@linaro.org> Signed-off-by: Song Gao --- hw/loongarch/virt.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'hw/loongarch/virt.c') diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c index c6f64e941b..c1791f80dd 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); -- cgit 1.4.1