mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
21c75ddbf9
commit
bb70651e45
3 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue