diff options
author | Changhwan Youn <chaos.youn@samsung.com> | 2011-07-16 03:48:47 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-07-20 16:28:06 +0200 |
commit | eb13f2bf7254f868486179b75d41c8b17a134996 (patch) | |
tree | ab6bf6439fcda10c343a8789a0d3650ac041e360 /arch/arm/mach-exynos4/cpu.c | |
parent | ARM: EXYNOS4: Enable SATA on SMDKV310 (diff) | |
download | linux-eb13f2bf7254f868486179b75d41c8b17a134996.tar.xz linux-eb13f2bf7254f868486179b75d41c8b17a134996.zip |
ARM: EXYNOS4: Add external GIC io memory mapping
This patch adds external GIC io memory mapping
to support external GIC on EXYNOS4.
Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4/cpu.c')
-rw-r--r-- | arch/arm/mach-exynos4/cpu.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos4/cpu.c b/arch/arm/mach-exynos4/cpu.c index bfd621460abf..91fc9fc8d763 100644 --- a/arch/arm/mach-exynos4/cpu.c +++ b/arch/arm/mach-exynos4/cpu.c @@ -103,7 +103,17 @@ static struct map_desc exynos4_iodesc[] __initdata = { .pfn = __phys_to_pfn(EXYNOS4_PA_HSPHY), .length = SZ_4K, .type = MT_DEVICE, - } + }, { + .virtual = (unsigned long)S5P_VA_GIC_CPU, + .pfn = __phys_to_pfn(EXYNOS4_PA_GIC_CPU), + .length = SZ_64K, + .type = MT_DEVICE, + }, { + .virtual = (unsigned long)S5P_VA_GIC_DIST, + .pfn = __phys_to_pfn(EXYNOS4_PA_GIC_DIST), + .length = SZ_64K, + .type = MT_DEVICE, + }, }; static void exynos4_idle(void) |