qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/2] mainstone: use gpio 0 for connection of FPGA in


From: Dmitry Eremin-Solenikov
Subject: [Qemu-devel] [PATCH 1/2] mainstone: use gpio 0 for connection of FPGA instead of hooking into PIC directly
Date: Fri, 4 Mar 2011 03:54:58 +0300

Signed-off-by: Dmitry Eremin-Solenikov <address@hidden>
---
 hw/mainstone.c |    2 +-
 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);
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]