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>
This commit is contained in:
Dmitry Eremin-Solenikov 2011-03-04 03:54:58 +03:00 committed by Andrzej Zaborowski
parent 8034ce7d17
commit 95499a1d28

View File

@ -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);