public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: dave.martin@linaro.org (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: pl2x0/pl310: Refactor Kconfig to be more maintainable
Date: Wed, 30 Nov 2011 14:45:46 +0000	[thread overview]
Message-ID: <20111130144546.GD2045@localhost.localdomain> (raw)
In-Reply-To: <20111130142619.GD711@S2100-06.ap.freescale.net>

On Wed, Nov 30, 2011 at 10:26:20PM +0800, Shawn Guo wrote:
> On Wed, Nov 30, 2011 at 02:03:35PM +0000, Dave Martin wrote:
> > On Wed, Nov 30, 2011 at 10:01:51PM +0800, Shawn Guo wrote:
> > > On Tue, Nov 29, 2011 at 04:32:25PM +0000, Dave Martin wrote:
> > > [...]
> > > > diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig
> > > > index b3a1f2b..6871ed7 100644
> > > > --- a/arch/arm/plat-mxc/Kconfig
> > > > +++ b/arch/arm/plat-mxc/Kconfig
> > > > @@ -20,6 +20,7 @@ config ARCH_IMX_V6_V7
> > > >  	bool "i.MX3, i.MX6"
> > > >  	select AUTO_ZRELADDR if !ZBOOT_ROM
> > > >  	select ARM_PATCH_PHYS_VIRT
> > > > +	select HAVE_L2X0_L2CC
> > > >  	help
> > > >  	  This enables support for systems based on the Freescale i.MX3 and i.MX6
> > > >  	  family.
> > > > -- 
> > > 
> > > You may want to amend the following for above change.
> > > 
> > > diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> > > index 5f7f9c2..a134819 100644
> > > --- a/arch/arm/mach-imx/Kconfig
> > > +++ b/arch/arm/mach-imx/Kconfig
> > > @@ -609,7 +609,6 @@ comment "i.MX6 family:"
> > >  config SOC_IMX6Q
> > >         bool "i.MX6 Quad support"
> > >         select ARM_GIC
> > > -       select CACHE_L2X0
> > >         select CPU_V7
> > >         select HAVE_ARM_SCU
> > >         select HAVE_IMX_GPC
> > 
> > Platforms where the L2x0 is considered compulsory should still select it
> > directly like this, instead of selecting HAVE_L2X0_L2CC.
> > 
> > Do you know whether it is OK to run mx6 with the L2 cache turned off?
> > (I would hope that it is OK... in which case we could make the change)
> > 
> We selected it not for it's compulsory but we want it anyway.  It's
> actually OK to run imx6 with L2 cache turned off.

OK, I'll change that in my patch to use the new option.

Cheers
---Dave

  reply	other threads:[~2011-11-30 14:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 16:32 [PATCH] ARM: pl2x0/pl310: Refactor Kconfig to be more maintainable Dave Martin
2011-11-29 19:25 ` Rob Herring
2011-11-29 22:18   ` Russell King - ARM Linux
2011-12-06 16:26   ` Dave Martin
2011-12-06 16:51     ` Rob Herring
2011-12-06 17:20       ` Dave Martin
2011-12-12 15:14   ` Dave Martin
2011-12-12 15:31     ` Rob Herring
2011-11-30 14:01 ` Shawn Guo
2011-11-30 14:03   ` Dave Martin
2011-11-30 14:26     ` Shawn Guo
2011-11-30 14:45       ` Dave Martin [this message]
2011-12-12 15:47 ` Uwe Kleine-König
2011-12-13 10:50   ` Dave Martin

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=20111130144546.GD2045@localhost.localdomain \
    --to=dave.martin@linaro.org \
    --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