diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-05-28 10:02:11 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-06-11 11:44:28 +0200 |
commit | 29786d42ba4ab6a70d3055083512e0bdd8e2f9ec (patch) | |
tree | 033456f8cbc0f92bdeefc46d3c5533b0bc000242 /hw/i386/fw_cfg.c | |
parent | d0af99ac12d381f3dcf451c69a6cef760fdc8252 (diff) | |
download | qemu-29786d42ba4ab6a70d3055083512e0bdd8e2f9ec.zip qemu-29786d42ba4ab6a70d3055083512e0bdd8e2f9ec.tar.gz qemu-29786d42ba4ab6a70d3055083512e0bdd8e2f9ec.tar.bz2 |
hw/acpi/piix4: use qdev gpio to wire up sci_irq
Introduce piix4_pm_init() instance init function and use it to
initialise the separate qdev gpio for the SCI IRQ.
The sci_irq can now be wired up directly using a qdev gpio instead
of having to set the IRQ externally in piix4_pm_initfn().
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220528091934.15520-9-mark.cave-ayland@ilande.co.uk>
[PMD: Partially squash 20220528091934.15520-8-mark.cave-ayland@ilande.co.uk]
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/i386/fw_cfg.c')
0 files changed, 0 insertions, 0 deletions