summaryrefslogtreecommitdiffstats
path: root/hw/microblaze
diff options
context:
space:
mode:
authorPeter Crosthwaite2013-06-11 02:57:41 +0200
committerEdgar E. Iglesias2013-06-18 09:44:59 +0200
commit37a011e9bade7bcbdd41addffc7c94cbf628404c (patch)
tree603b3904efd1de480bd0f8d552976925669fb340 /hw/microblaze
parentMerge remote-tracking branch 'luiz/queue/qmp' into staging (diff)
downloadqemu-37a011e9bade7bcbdd41addffc7c94cbf628404c.tar.gz
qemu-37a011e9bade7bcbdd41addffc7c94cbf628404c.tar.xz
qemu-37a011e9bade7bcbdd41addffc7c94cbf628404c.zip
microblaze/petalogix_s3adsp1800_mmu: Fix UART IRQ
The UART IRQ is edge sensitive, whereas the machine was registering it as level sensitive. Fix. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/microblaze')
-rw-r--r--hw/microblaze/petalogix_s3adsp1800_mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/microblaze/petalogix_s3adsp1800_mmu.c b/hw/microblaze/petalogix_s3adsp1800_mmu.c
index 7c258f03af..b3bcd4ea5e 100644
--- a/hw/microblaze/petalogix_s3adsp1800_mmu.c
+++ b/hw/microblaze/petalogix_s3adsp1800_mmu.c
@@ -97,7 +97,7 @@ petalogix_s3adsp1800_init(QEMUMachineInitArgs *args)
1, 0x89, 0x18, 0x0000, 0x0, 1);
cpu_irq = microblaze_pic_init_cpu(env);
- dev = xilinx_intc_create(INTC_BASEADDR, cpu_irq[0], 2);
+ dev = xilinx_intc_create(INTC_BASEADDR, cpu_irq[0], 0xA);
for (i = 0; i < 32; i++) {
irq[i] = qdev_get_gpio_in(dev, i);
}