On Thu, Dec 15, 2011 at 03:53:50PM +0000, Dave Martin wrote: > Making CACHE_L2X0 depend on (huge list of MACH_ and ARCH_ configs) > is bothersome to maintain and likely to lead to merge conflicts. > > This patch moves the knowledge of which platforms have a L2x0 or > PL310 cache controller to the individual machines. To enable this, > a new MIGHT_HAVE_CACHE_L2X0 config option is introduced to allow > machines to indicate that they may have such a cache controller > independently of each other. > > Boards/SoCs which cannot reliably operate without the L2 cache > controller support will need to select CACHE_L2X0 directly from > their own Kconfigs instead. This applies to some TrustZone-enabled > boards where Linux runs in the Normal World, for example. > > Signed-off-by: Dave Martin <dave.martin@xxxxxxxxxx> > Acked-by: Anton Vorontsov <cbouatmailru@xxxxxxxxx> > (for cns3xxx) > Acked-by: Tony Lindgren <tony@xxxxxxxxxxx> > (for omap) > --- [...] > diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig > index b3a1f2b..b30708e 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 MIGHT_HAVE_CACHE_L2X0 > help > This enables support for systems based on the Freescale i.MX3 and i.MX6 > family. Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx> -- Regards, Shawn -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html