diff options
author | Francisco Iglesias <francisco.iglesias@xilinx.com> | 2022-01-21 16:11:33 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-01-28 14:29:46 +0000 |
commit | 9a6d491831e6e12a971f6a0c59e9553e96a9241c (patch) | |
tree | e765aeff3d9b547b9b888390ac20b4c71df606c1 /hw/arm/xlnx-versal-virt.c | |
parent | 8c1c0a1b72f1d9138c2a219064072a4462d4cc8e (diff) | |
download | qemu-9a6d491831e6e12a971f6a0c59e9553e96a9241c.zip qemu-9a6d491831e6e12a971f6a0c59e9553e96a9241c.tar.gz qemu-9a6d491831e6e12a971f6a0c59e9553e96a9241c.tar.bz2 |
hw/arm/xlnx-versal: 'Or' the interrupts from the BBRAM and RTC models
Add an orgate and 'or' the interrupts from the BBRAM and RTC models.
Signed-off-by: Francisco Iglesias <francisco.iglesias@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Message-id: 20220121161141.14389-3-francisco.iglesias@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/xlnx-versal-virt.c')
-rw-r--r-- | hw/arm/xlnx-versal-virt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index 0c5edc8..8ea9979 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -365,7 +365,7 @@ static void fdt_add_bbram_node(VersalVirt *s) qemu_fdt_add_subnode(s->fdt, name); qemu_fdt_setprop_cells(s->fdt, name, "interrupts", - GIC_FDT_IRQ_TYPE_SPI, VERSAL_BBRAM_APB_IRQ_0, + GIC_FDT_IRQ_TYPE_SPI, VERSAL_PMC_APB_IRQ, GIC_FDT_IRQ_FLAGS_LEVEL_HI); qemu_fdt_setprop(s->fdt, name, "interrupt-names", interrupt_names, sizeof(interrupt_names)); |