diff options
author | Mark Cave-Ayland | 2020-12-29 18:56:18 +0100 |
---|---|---|
committer | Mark Cave-Ayland | 2021-01-13 13:21:21 +0100 |
commit | b73eb72792c831fb79583b80a2a60cf5192441ab (patch) | |
tree | 334bde886918ea1b3b7d00ae864172e7efc9fd28 /include/hw | |
parent | macio: move OpenPIC inside macio-newworld device (diff) | |
download | qemu-b73eb72792c831fb79583b80a2a60cf5192441ab.tar.gz qemu-b73eb72792c831fb79583b80a2a60cf5192441ab.tar.xz qemu-b73eb72792c831fb79583b80a2a60cf5192441ab.zip |
macio: wire macio GPIOs to OpenPIC using sysbus IRQs
This both allows the wiring to be done as Ben suggested in his original comment in
gpio.c and also enables the OpenPIC object property link to be removed.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20201229175619.6051-7-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/misc/macio/gpio.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/misc/macio/gpio.h b/include/hw/misc/macio/gpio.h index 4dee09a9dd..7d2aa886c2 100644 --- a/include/hw/misc/macio/gpio.h +++ b/include/hw/misc/macio/gpio.h @@ -38,8 +38,6 @@ struct MacIOGPIOState { SysBusDevice parent; /*< public >*/ - OpenPICState *pic; - MemoryRegion gpiomem; qemu_irq gpio_extirqs[10]; uint8_t gpio_levels[8]; |