diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-02-11 23:57:35 +0300 |
---|---|---|
committer | Andrzej Zaborowski <balrog@zabor.org> | 2011-02-11 23:31:16 +0100 |
commit | bb70651e45c798d301549aa2e12ea6beb858c21d (patch) | |
tree | 24f61b17e083727885cbe274fbfde4de3a771546 /hw/mainstone.c | |
parent | 21c75ddbf9487cd24bc9cceff1af1946e42143c0 (diff) | |
download | qemu-bb70651e45c798d301549aa2e12ea6beb858c21d.tar.gz qemu-bb70651e45c798d301549aa2e12ea6beb858c21d.tar.bz2 qemu-bb70651e45c798d301549aa2e12ea6beb858c21d.zip |
mainstone: pass one irq to the mst_fpga instead of the whole PIC
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw/mainstone.c')
-rw-r--r-- | hw/mainstone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c index 58e3f8670d..18d1415e4d 100644 --- a/hw/mainstone.c +++ b/hw/mainstone.c @@ -117,7 +117,7 @@ static void mainstone_common_init(ram_addr_t ram_size, } } - mst_irq = mst_irq_init(cpu, MST_FPGA_PHYS, PXA2XX_PIC_GPIO_0); + mst_irq = mst_irq_init(MST_FPGA_PHYS, cpu->pic[PXA2XX_PIC_GPIO_0]); /* setup keypad */ printf("map addr %p\n", &map); |