[PATCH] ARM: Exynos: Remove duplicated SROMC static memory mapping

Thomas Abraham thomas.abraham at linaro.org
Tue Dec 27 01:12:23 EST 2011


SROMC static memory mapping is included in the common s5p initialization
code. Hence, remove the duplicated SROMC static memory mapping for Exynos.

Signed-off-by: Thomas Abraham <thomas.abraham at linaro.org>
---
This was identified while testing Nicolas Pitre's vmalloc.h removal
patch series for Exynos. The duplicated static memory mapping caused
the detection of overlapped memory region (in vm_area_add_early) which
resulted in boot failure.	

 arch/arm/mach-exynos/cpu.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/arch/arm/mach-exynos/cpu.c b/arch/arm/mach-exynos/cpu.c
index 1213027..574f4b9 100644
--- a/arch/arm/mach-exynos/cpu.c
+++ b/arch/arm/mach-exynos/cpu.c
@@ -118,11 +118,6 @@ static struct map_desc exynos4_iodesc[] __initdata = {
 		.length		= SZ_64K,
 		.type		= MT_DEVICE,
 	}, {
-		.virtual	= (unsigned long)S5P_VA_SROMC,
-		.pfn		= __phys_to_pfn(EXYNOS4_PA_SROMC),
-		.length		= SZ_4K,
-		.type		= MT_DEVICE,
-	}, {
 		.virtual	= (unsigned long)S3C_VA_USB_HSPHY,
 		.pfn		= __phys_to_pfn(EXYNOS4_PA_HSPHY),
 		.length		= SZ_4K,
-- 
1.6.6.rc2




More information about the linux-arm-kernel mailing list