diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-01-17 14:09:30 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-01-17 14:09:30 +0000 |
commit | f8a865d36dc1578eb8a4f7c896c4f46f4b82ca45 (patch) | |
tree | 9c3ef919c17d4759e15f1f9518226aaa0b06139e /include | |
parent | 7f0ec9893cc8c99e7ee928fdc66bb3046f3e4cd4 (diff) | |
download | qemu-f8a865d36dc1578eb8a4f7c896c4f46f4b82ca45.zip qemu-f8a865d36dc1578eb8a4f7c896c4f46f4b82ca45.tar.gz qemu-f8a865d36dc1578eb8a4f7c896c4f46f4b82ca45.tar.bz2 |
hw/arm/allwinner-a10: Simplify by passing IRQs with qdev_pass_gpios()
By calling qdev_pass_gpios() we don't need to hold a copy of the
IRQs from the INTC into the SoC state.
Instead of filling an array of qemu_irq and passing it around, we
can now directly call qdev_get_gpio_in() on the SoC.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20191230110953.25496-5-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/arm/allwinner-a10.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/arm/allwinner-a10.h b/include/hw/arm/allwinner-a10.h index 941c61e53..40d0b1d 100644 --- a/include/hw/arm/allwinner-a10.h +++ b/include/hw/arm/allwinner-a10.h @@ -23,7 +23,6 @@ typedef struct AwA10State { /*< public >*/ ARMCPU cpu; - qemu_irq irq[AW_A10_PIC_INT_NR]; AwA10PITState timer; AwA10PICState intc; AwEmacState emac; |