Skip to contentSkip to conversation

ARM: Exynos5: Remove static io-remapping for gic and combiner

PATCH New Thomas Abraham 2 participants 2 messages Oct 29, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Exynos5: Remove static io-remapping for gic and combiner

The physical base address of GIC and Interrupt Combiner is obtained from device tree and then remapped during initialization. So remove the static io-remapping for GIC and combiner.

---
 arch/arm/mach-exynos/common.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
arch/arm/mach-exynos/common.c +0 -15
index 5a305f0..5c75815 100644
@@ -256,25 +256,10 @@ static struct map_desc exynos5_iodesc[] __initdata = {
 		.length		= SZ_64K,
 		.type		= MT_DEVICE,
 	}, {
-		.virtual	= (unsigned long)S5P_VA_COMBINER_BASE,
-		.pfn		= __phys_to_pfn(EXYNOS5_PA_COMBINER),
-		.length		= SZ_4K,
-		.type		= MT_DEVICE,
-	}, {
 		.virtual	= (unsigned long)S3C_VA_UART,
 		.pfn		= __phys_to_pfn(EXYNOS5_PA_UART),
 		.length		= SZ_512K,
 		.type		= MT_DEVICE,
-	}, {
-		.virtual	= (unsigned long)S5P_VA_GIC_CPU,
-		.pfn		= __phys_to_pfn(EXYNOS5_PA_GIC_CPU),
-		.length		= SZ_8K,
-		.type		= MT_DEVICE,
-	}, {
-		.virtual	= (unsigned long)S5P_VA_GIC_DIST,
-		.pfn		= __phys_to_pfn(EXYNOS5_PA_GIC_DIST),
-		.length		= SZ_4K,
-		.type		= MT_DEVICE,
 	},
 };
 
Signature · 1 line
1.6.6.rc2
Applied
#1 lore raw

PATCH 1/1 ARM: Exynos5: Remove static io-remapping for gic and combiner

Quoted 29 lines · Thomas Abraham

The physical base address of GIC and Interrupt Combiner is obtained from device tree and then remapped during initialization. So remove the static io-remapping for GIC and combiner.

---
  arch/arm/mach-exynos/common.c |   15 ---------------
  1 files changed, 0 insertions(+), 15 deletions(-)
arch/arm/mach-exynos/common.c +0 -8
index 5a305f0..5c75815 100644
@@ -256,25 +256,10 @@ static struct map_desc exynos5_iodesc[] __initdata = {
  		.length		= SZ_64K,
  		.type		= MT_DEVICE,
  	}, {
-		.virtual	= (unsigned long)S5P_VA_COMBINER_BASE,
-		.pfn		= __phys_to_pfn(EXYNOS5_PA_COMBINER),
-		.length		= SZ_4K,
-		.type		= MT_DEVICE,
-	}, {
  		.virtual	= (unsigned long)S3C_VA_UART,
  		.pfn		= __phys_to_pfn(EXYNOS5_PA_UART),
  		.length		= SZ_512K,
  		.type		= MT_DEVICE,
-	}, {
-		.virtual	= (unsigned long)S5P_VA_GIC_CPU,
-		.pfn		= __phys_to_pfn(EXYNOS5_PA_GIC_CPU),

arch/arm/mach-exynos/common.c static struct map_desc exynos5_iodesc[] __initdata = { · line 265

Quoted 10 lines
arch/arm/mach-exynos/common.c +0 -7
-		.length		= SZ_8K,
-		.type		= MT_DEVICE,
-	}, {
-		.virtual	= (unsigned long)S5P_VA_GIC_DIST,
-		.pfn		= __phys_to_pfn(EXYNOS5_PA_GIC_DIST),
-		.length		= SZ_4K,
-		.type		= MT_DEVICE,
  	},
  };
 

Applied, thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.