From patchwork Wed Nov 30 14:01:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: ARM: pl2x0/pl310: Refactor Kconfig to be more maintainable Date: Wed, 30 Nov 2011 04:01:51 -0000 From: Shawn Guo X-Patchwork-Id: 128519 Message-Id: <20111130140150.GC711@S2100-06.ap.freescale.net> To: Dave Martin Cc: linux-arm-kernel@lists.infradead.org, patches@linaro.org 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