ARM: imx: Select MIGHT_HAVE_CACHE_L2X0
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 10 Jul 2013 15:30:16 +0000 (12:30 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 16 Aug 2013 05:11:24 +0000 (13:11 +0800)
Select MIGHT_HAVE_CACHE_L2X0 for armv6 and armv7 i.MX SoCs.

By selecting MIGHT_HAVE_CACHE_L2X0, the user still has the possibility to
disable CACHE_L2X0 selection via menuconfig.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/Kconfig

index f54656091a9d67dfe896e00ad909ad73d0674570..f7a5ad1c8ac7e08c9ea525d0d8a08e70bcf317f4 100644 (file)
@@ -8,6 +8,7 @@ config ARCH_MXC
        select GENERIC_ALLOCATOR
        select GENERIC_CLOCKEVENTS
        select GENERIC_IRQ_CHIP
+       select MIGHT_HAVE_CACHE_L2X0 if ARCH_MULTI_V6_V7
        select MULTI_IRQ_HANDLER
        select SPARSE_IRQ
        select USE_OF