aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/common.c
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-06-14 20:13:25 -0400
committerKukjin Kim <kgene.kim@samsung.com>2013-06-14 20:33:20 -0400
commit04fae59683b3c7a88442bc77ab1afea6eb4b7300 (patch)
tree2bced10f0ba888769e6367db02d153153cd38602 /arch/arm/mach-exynos/common.c
parent17397a228f70ae7304bcc53593b188e8f02d7047 (diff)
ARM: EXYNOS: Remove legacy mapping of chip ID block
This patch removes static mapping of chip ID block that was used when booting with ATAGS, which is not supported on Exynos any more. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/common.c')
-rw-r--r--arch/arm/mach-exynos/common.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 2c8527c3e04e..f81aa2229408 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -99,15 +99,6 @@ static struct cpu_table cpu_ids[] __initdata = {
99 99
100/* Initial IO mappings */ 100/* Initial IO mappings */
101 101
102static struct map_desc exynos_iodesc[] __initdata = {
103 {
104 .virtual = (unsigned long)S5P_VA_CHIPID,
105 .pfn = __phys_to_pfn(EXYNOS_PA_CHIPID),
106 .length = SZ_4K,
107 .type = MT_DEVICE,
108 },
109};
110
111static struct map_desc exynos4_iodesc[] __initdata = { 102static struct map_desc exynos4_iodesc[] __initdata = {
112 { 103 {
113 .virtual = (unsigned long)S3C_VA_SYS, 104 .virtual = (unsigned long)S3C_VA_SYS,
@@ -365,10 +356,7 @@ void __init exynos_init_io(struct map_desc *mach_desc, int size)
365{ 356{
366 debug_ll_io_init(); 357 debug_ll_io_init();
367 358
368 if (initial_boot_params) 359 of_scan_flat_dt(exynos_fdt_map_chipid, NULL);
369 of_scan_flat_dt(exynos_fdt_map_chipid, NULL);
370 else
371 iotable_init(exynos_iodesc, ARRAY_SIZE(exynos_iodesc));
372 360
373 if (mach_desc) 361 if (mach_desc)
374 iotable_init(mach_desc, size); 362 iotable_init(mach_desc, size);