From patchwork Thu Jul 26 05:48:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 1240351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 64361DFFBF for ; Thu, 26 Jul 2012 05:52:31 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SuGwh-00025k-IV; Thu, 26 Jul 2012 05:49:11 +0000 Received: from smtp2-v.fe.bosch.de ([139.15.237.6]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SuGwV-00025W-AB for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2012 05:49:00 +0000 Received: from vsmta11.fe.internet.bosch.com (unknown [10.4.98.30]) by imta23.fe.bosch.de (Postfix) with ESMTP id 3E70828C0002 for ; Thu, 26 Jul 2012 07:48:54 +0200 (CEST) Received: from localhost (vsgw3.fe.internet.bosch.com [10.4.98.16]) by vsmta11.fe.internet.bosch.com (Postfix) with SMTP id 1C46843C0304 for ; Thu, 26 Jul 2012 07:48:54 +0200 (CEST) Received: from SI-HUB1000.de.bosch.com (10.4.103.106) by si-hub02.de.bosch.com (10.3.144.67) with Microsoft SMTP Server (TLS) id 8.3.264.0; Thu, 26 Jul 2012 07:48:48 +0200 Received: from hi-z5661.hi.de.bosch.com (10.34.219.178) by SI-HUB1000.de.bosch.com (10.4.103.106) with Microsoft SMTP Server id 14.2.309.2; Thu, 26 Jul 2012 07:48:48 +0200 Received: from localhost.localdomain (localhost [127.0.0.1]) by hi-z5661.hi.de.bosch.com (Postfix) with ESMTP id 0280E40AC9; Thu, 26 Jul 2012 07:48:47 +0200 (CEST) From: Dirk Behme To: Subject: [PATCH v2] ARM: i.MX6: set ARCH_NR_GPIO to 224 Date: Thu, 26 Jul 2012 07:48:44 +0200 Message-ID: <1343281724-23085-1-git-send-email-dirk.behme@de.bosch.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -6.9 (------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-6.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [139.15.237.6 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Shawn Guo , Matthias Thomae X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Matthias Thomae Set ARCH_NR_GPIO for the i.MX6 processor family, which has 7 GPIO controllers with 32 signals each. The default of 256 GPIOs wastes some static table space as explained in Documentation/gpio.txt. Signed-off-by: Matthias Thomae CC: Shawn Guo --- Changes in v2: Fix typo in the subject: 244 -> 224 arch/arm/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b25c9d3..5e4cde3 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1626,6 +1626,7 @@ config ARCH_NR_GPIO default 355 if ARCH_U8500 default 264 if MACH_H4700 default 512 if SOC_OMAP5 + default 224 if SOC_IMX6Q default 0 help Maximum number of GPIOs in the system.