[RFC PATCH] ARM: mxc: Select ARCH_HAS_HOLES_MEMORYMODEL

Fabio Estevam festevam at gmail.com
Thu Sep 15 20:29:41 EDT 2011


Select ARCH_HAS_HOLES_MEMORYMODELfor ARCH_MXC so that the non-contiguous memory block
can be handled correctly.

An example of such system is MX35PDK that has a total of 256MB dividedin 
two RAM banks:128MB at CS0 and another 128MB at CS1. On MX35 each chip select 
can address up to 256MB, so this configuration leaves a 128MB 'hole' in the 
memory map that needs to be handled properly.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 arch/arm/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5ebc5d9..29bbd1d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -397,6 +397,7 @@ config ARCH_MXC
 	select CLKSRC_MMIO
 	select GENERIC_IRQ_CHIP
 	select HAVE_SCHED_CLOCK
+	select ARCH_HAS_HOLES_MEMORYMODEL
 	help
 	  Support for Freescale MXC/iMX-based family of processors
 
-- 
1.6.0.4




More information about the linux-arm-kernel mailing list