From: dirk.behme@googlemail.com (Dirk Behme)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244
Date: Sun, 29 Jul 2012 18:18:21 +0200 [thread overview]
Message-ID: <5015624D.50305@googlemail.com> (raw)
In-Reply-To: <20120728133215.GG2128@S2101-09.ap.freescale.net>
On 28.07.2012 15:32, Shawn Guo wrote:
> On Wed, Jul 25, 2012 at 02:37:43PM +0200, Dirk Behme wrote:
>> From: Matthias Thomae<matthias.thomae@de.bosch.com>
>>
>> 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<matthias.thomae@de.bosch.com>
>> CC: Shawn Guo<shawn.guo@linaro.org>
>> ---
>> 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
>
> So what if we build imx_v6_v7_defconfig with IMX6Q deselected?
Hmm, sorry if I missed anything, but how is adding a 'default ..
SOC_IMX6Q' related to any defconfig? If you want to deselect SOC_IMX6Q
using the way you like you'll get the standard 256 (if I remember
correctly).
Best regards
Dirk
next prev parent reply other threads:[~2012-07-29 16:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-25 12:37 [PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244 Dirk Behme
2012-07-25 12:37 ` [PATCH 2/2] ARM: dts: imx6q: Invert the GPIO controller order Dirk Behme
2012-07-28 13:41 ` Shawn Guo
2012-07-30 7:28 ` Thomae Matthias (CM-AI/PJ-CF31)
2012-07-30 9:01 ` Shawn Guo
2012-07-30 14:24 ` Russell King - ARM Linux
2012-07-31 8:15 ` Dirk Behme
2012-07-25 14:12 ` [PATCH 1/2] ARM: i.MX6: set ARCH_NR_GPIO to 244 Fabio Estevam
2012-07-25 14:51 ` Dirk Behme
2012-07-28 13:32 ` Shawn Guo
2012-07-29 16:18 ` Dirk Behme [this message]
2012-07-30 1:14 ` Shawn Guo
2012-07-30 6:40 ` Dirk Behme
2012-07-30 8:46 ` Shawn Guo
2012-07-30 11:14 ` Dirk Behme
2012-07-30 14:29 ` Russell King - ARM Linux
2012-07-31 1:16 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5015624D.50305@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).