From patchwork Fri Mar 4 00:54:58 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 85357 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8573CB7082 for ; Fri, 4 Mar 2011 11:57:06 +1100 (EST) Received: from localhost ([127.0.0.1]:44469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvJKJ-0004zp-QN for incoming@patchwork.ozlabs.org; Thu, 03 Mar 2011 19:57:03 -0500 Received: from [140.186.70.92] (port=33715 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvJIQ-0004Hu-Q2 for qemu-devel@nongnu.org; Thu, 03 Mar 2011 19:55:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvJIP-0002uy-Op for qemu-devel@nongnu.org; Thu, 03 Mar 2011 19:55:06 -0500 Received: from mail-fx0-f45.google.com ([209.85.161.45]:38187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvJIP-0002uu-II for qemu-devel@nongnu.org; Thu, 03 Mar 2011 19:55:05 -0500 Received: by fxm11 with SMTP id 11so1838038fxm.4 for ; Thu, 03 Mar 2011 16:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:x-mailer; bh=L69AYz7I/fj+7U4lhX8O08nkBN4BlRwWx4lLYv+6HiU=; b=kA+55aI/o2O40sr69QdUiZhhoY93pz+1lk3cJyvWgm1LWmCfK/2UOi0iG2/qJobet6 YkyT+Pxrg7rX5Ny8c81ZvowGrUhHcZ8HwfJUcZg2B+8D2LAA/M7Piv17xyLmQG/31b9V H2hDw9U+jrHYvC3i8h173qZDCdmQOUY06Qg+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer; b=dYmnB2qo7Hwzp/YluQ4lFGpchd6+MiiJpeLRcmwP1/4hbAvBXF1hHOCTL4zR2rG9Va KzfDxN2wHLJiXpOEgev8C/UqCJ/1s8hTDjcpKDQCuRjFXiY25Bs/LjJY4K8c/UeE4dTm sAgiGELkAoSNhp2XO5Ob3Mi/NmZOiRQR4mTLs= Received: by 10.223.83.203 with SMTP id g11mr2251346fal.137.1299200104633; Thu, 03 Mar 2011 16:55:04 -0800 (PST) Received: from doriath.ww600.siemens.net ([91.213.169.4]) by mx.google.com with ESMTPS id 21sm908361fav.41.2011.03.03.16.55.03 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 16:55:03 -0800 (PST) From: Dmitry Eremin-Solenikov To: qemu-devel@nongnu.org Date: Fri, 4 Mar 2011 03:54:58 +0300 Message-Id: <1299200099-22482-1-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.7.2.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.45 Subject: [Qemu-devel] [PATCH 1/2] mainstone: use gpio 0 for connection of FPGA instead of hooking into PIC directly X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Dmitry Eremin-Solenikov --- 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);