]> xenbits.xensource.com Git - people/liuw/qemu.git/commitdiff
PPC: e500: Fix GPIO controller interrupt number
authorAmit Tomar <Amit.Tomar@freescale.com>
Fri, 19 Dec 2014 14:20:37 +0000 (14:20 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:28 +0000 (16:16 +0100)
The GPIO controller lives at IRQ 47, not 43 on real hardware. This is a problem
because IRQ 43 is occupied by the I2C controller which we want to implement
next, so we'd have a conflict on that IRQ number.

Move the GPIO controller to IRQ 47 where it belongs.

Signed-off-by: Amit Singh Tomar <amit.tomar@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/e500.c

index a2e60b48968e4a174dfe563d7482b58ab2d13185..7e17d180c66ecf2b48f74160261fefd258b596ce 100644 (file)
@@ -60,7 +60,7 @@
 #define MPC8544_PCI_REGS_SIZE      0x1000ULL
 #define MPC8544_UTIL_OFFSET        0xe0000ULL
 #define MPC8XXX_GPIO_OFFSET        0x000FF000ULL
-#define MPC8XXX_GPIO_IRQ           43
+#define MPC8XXX_GPIO_IRQ           47
 
 struct boot_info
 {