提交 04fae596 编写于 作者: T Tomasz Figa 提交者: Kukjin Kim

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: NTomasz Figa <t.figa@samsung.com>
Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 17397a22
...@@ -99,15 +99,6 @@ static struct cpu_table cpu_ids[] __initdata = { ...@@ -99,15 +99,6 @@ static struct cpu_table cpu_ids[] __initdata = {
/* Initial IO mappings */ /* Initial IO mappings */
static struct map_desc exynos_iodesc[] __initdata = {
{
.virtual = (unsigned long)S5P_VA_CHIPID,
.pfn = __phys_to_pfn(EXYNOS_PA_CHIPID),
.length = SZ_4K,
.type = MT_DEVICE,
},
};
static struct map_desc exynos4_iodesc[] __initdata = { static struct map_desc exynos4_iodesc[] __initdata = {
{ {
.virtual = (unsigned long)S3C_VA_SYS, .virtual = (unsigned long)S3C_VA_SYS,
...@@ -365,10 +356,7 @@ void __init exynos_init_io(struct map_desc *mach_desc, int size) ...@@ -365,10 +356,7 @@ void __init exynos_init_io(struct map_desc *mach_desc, int size)
{ {
debug_ll_io_init(); debug_ll_io_init();
if (initial_boot_params) of_scan_flat_dt(exynos_fdt_map_chipid, NULL);
of_scan_flat_dt(exynos_fdt_map_chipid, NULL);
else
iotable_init(exynos_iodesc, ARRAY_SIZE(exynos_iodesc));
if (mach_desc) if (mach_desc)
iotable_init(mach_desc, size); iotable_init(mach_desc, size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册