hw/mips/malta: Set PIIX4 IRQ routes in embedded bootloader
commit1953dfa80e0fc44a8ccfc97b4ada941e9383bba7
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 25 Oct 2022 23:54:46 +0000 (26 01:54 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Jan 2023 08:32:32 +0000 (13 09:32 +0100)
tree4a10dfb77a62495b497370efc9a7e3bba6d8c5c1
parent6dd92ce6c541d331f384b808173b7c97c09c8684
hw/mips/malta: Set PIIX4 IRQ routes in embedded bootloader

Linux kernel expects the northbridge & southbridge chipsets
configured by the BIOS firmware. We emulate that by writing
a tiny bootloader code in write_bootloader().

Upon introduction in commit 5c2b87e34d ("PIIX4 support"),
the PIIX4 configuration space included values specific to
the Malta board.

Set the Malta-specific IRQ routing values in the embedded
bootloader, so the next commit can remove the Malta specific
bits from the PIIX4 PCI-ISA bridge and make it generic
(matching the real hardware).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221027204720.33611-3-philmd@linaro.org>
hw/mips/malta.c