From patchwork Sat Nov 12 10:36:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Hui X-Patchwork-Id: 5083 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5482D23E0C for ; Sat, 12 Nov 2011 10:37:29 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 42692A18B0C for ; Sat, 12 Nov 2011 10:37:29 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id n26so6568949faa.11 for ; Sat, 12 Nov 2011 02:37:29 -0800 (PST) Received: by 10.152.110.228 with SMTP id id4mr3294277lab.19.1321094249021; Sat, 12 Nov 2011 02:37:29 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.40.7 with SMTP id t7cs81352lak; Sat, 12 Nov 2011 02:37:28 -0800 (PST) Received: by 10.231.6.10 with SMTP id 10mr3544972ibx.76.1321094246621; Sat, 12 Nov 2011 02:37:26 -0800 (PST) Received: from mail-iy0-f178.google.com (mail-iy0-f178.google.com [209.85.210.178]) by mx.google.com with ESMTPS id t11si3338500iba.69.2011.11.12.02.37.26 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Nov 2011 02:37:26 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.178 is neither permitted nor denied by best guess record for domain of jason.hui@linaro.org) client-ip=209.85.210.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.178 is neither permitted nor denied by best guess record for domain of jason.hui@linaro.org) smtp.mail=jason.hui@linaro.org Received: by mail-iy0-f178.google.com with SMTP id j38so6138337iad.37 for ; Sat, 12 Nov 2011 02:37:26 -0800 (PST) Received: by 10.43.45.137 with SMTP id uk9mr4719184icb.52.1321094245976; Sat, 12 Nov 2011 02:37:25 -0800 (PST) Received: from localhost.localdomain ([116.226.224.96]) by mx.google.com with ESMTPS id n30sm20139112ibl.4.2011.11.12.02.37.22 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Nov 2011 02:37:25 -0800 (PST) From: Jason Liu To: u-boot@lists.denx.de Cc: sbabic@denx.de Subject: [U-Boot][PATCH 3/6] i.mx: mxc_gpio: add the i.mx6q support Date: Sat, 12 Nov 2011 18:36:27 +0800 Message-Id: <1321094190-8108-4-git-send-email-jason.hui@linaro.org> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1321094190-8108-1-git-send-email-jason.hui@linaro.org> References: <1321094190-8108-1-git-send-email-jason.hui@linaro.org> Signed-off-by: Jason Liu --- drivers/gpio/mxc_gpio.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index a7f36b2..908808d 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -40,10 +40,10 @@ static unsigned long gpio_ports[] = { [0] = GPIO1_BASE_ADDR, [1] = GPIO2_BASE_ADDR, [2] = GPIO3_BASE_ADDR, -#if defined(CONFIG_MX51) || defined(CONFIG_MX53) +#if defined(CONFIG_MX51) || defined(CONFIG_MX53) || defined(CONFIG_MX6Q) [3] = GPIO4_BASE_ADDR, #endif -#if defined(CONFIG_MX53) +#if defined(CONFIG_MX53) || defined(CONFIG_MX6Q) [4] = GPIO5_BASE_ADDR, [5] = GPIO6_BASE_ADDR, [6] = GPIO7_BASE_ADDR,