aboutsummaryrefslogtreecommitdiff
path: root/hw/mainstone.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-03-04 03:54:58 +0300
committerAndrzej Zaborowski <balrog@zabor.org>2011-03-10 03:36:18 +0100
commit95499a1d28f1f6255d7d74d2aaeaa2e7447b2b26 (patch)
treedea480f11062366adf831e1c3b5308d42f3efa3c /hw/mainstone.c
parent8034ce7d1702d0bfa85618d345e2db0644048bc7 (diff)
downloadqemu-95499a1d28f1f6255d7d74d2aaeaa2e7447b2b26.zip
qemu-95499a1d28f1f6255d7d74d2aaeaa2e7447b2b26.tar.gz
qemu-95499a1d28f1f6255d7d74d2aaeaa2e7447b2b26.tar.bz2
mainstone: use gpio 0 for connection of FPGA instead of hooking into PIC directly
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c
index 4eabdb9..8970dd8 100644
--- a/hw/mainstone.c
+++ b/hw/mainstone.c
@@ -140,7 +140,7 @@ static void mainstone_common_init(ram_addr_t ram_size,
}
mst_irq = sysbus_create_simple("mainstone-fpga", MST_FPGA_PHYS,
- qdev_get_gpio_in(cpu->pic, PXA2XX_PIC_GPIO_0));
+ qdev_get_gpio_in(cpu->gpio, 0));
/* setup keypad */
printf("map addr %p\n", &map);