diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-03-04 03:54:58 +0300 |
---|---|---|
committer | Andrzej Zaborowski <balrog@zabor.org> | 2011-03-10 03:36:18 +0100 |
commit | 95499a1d28f1f6255d7d74d2aaeaa2e7447b2b26 (patch) | |
tree | dea480f11062366adf831e1c3b5308d42f3efa3c /hw/mainstone.c | |
parent | 8034ce7d1702d0bfa85618d345e2db0644048bc7 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c index 4eabdb99d9..8970dd8e41 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); |