All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] ARM: imx: Select MIGHT_HAVE_CACHE_L2X0
@ 2013-07-10 15:30 Fabio Estevam
  2013-07-10 15:37 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2013-07-10 15:30 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
Changes since v2:
- Simplify the Kconfig
Changes since v1:
- Use MIGHT_HAVE_CACHE_L2X0 instead of CACHE_L2X0, to allow users to still
disable L2 cache via menuconfig if they want to
- Also select L2 cache for vf610

 arch/arm/mach-imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index f546560..f7a5ad1 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -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
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH v3] ARM: imx: Select MIGHT_HAVE_CACHE_L2X0
  2013-07-10 15:30 [PATCH v3] ARM: imx: Select MIGHT_HAVE_CACHE_L2X0 Fabio Estevam
@ 2013-07-10 15:37 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2013-07-10 15:37 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 10, 2013 at 12:30:16PM -0300, Fabio Estevam wrote:
> 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>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-10 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-10 15:30 [PATCH v3] ARM: imx: Select MIGHT_HAVE_CACHE_L2X0 Fabio Estevam
2013-07-10 15:37 ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.