diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-09-16 16:38:43 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-09-16 16:38:43 +0900 |
commit | be6bb8cc8d2bd033a1f89983f2f13bdb3548a08f (patch) | |
tree | 2b7f76cc2154e5589a605f97a663c8afe4f6016f /arch/arm/plat-s3c24xx | |
parent | d03c35939d2a447093e60133156217d6512aa9e3 (diff) | |
parent | b02b5da4d15d7f7a250888d003121e1b5b69d00b (diff) | |
download | blackbird-obmc-linux-be6bb8cc8d2bd033a1f89983f2f13bdb3548a08f.tar.gz blackbird-obmc-linux-be6bb8cc8d2bd033a1f89983f2f13bdb3548a08f.zip |
Merge branch 'next/topic-cpuid-rev' into next/topic-add-exynos4212
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/cpu.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/plat-s3c24xx/cpu.c index c1fc6c6fac72..3c6335307fb1 100644 --- a/arch/arm/plat-s3c24xx/cpu.c +++ b/arch/arm/plat-s3c24xx/cpu.c @@ -215,19 +215,18 @@ static void s3c24xx_pm_restart(char mode, const char *cmd) void __init s3c24xx_init_io(struct map_desc *mach_desc, int size) { - unsigned long idcode = 0x0; - /* initialise the io descriptors we need for initialisation */ iotable_init(mach_desc, size); iotable_init(s3c_iodesc, ARRAY_SIZE(s3c_iodesc)); if (cpu_architecture() >= CPU_ARCH_ARMv5) { - idcode = s3c24xx_read_idcode_v5(); + samsung_cpu_id = s3c24xx_read_idcode_v5(); } else { - idcode = s3c24xx_read_idcode_v4(); + samsung_cpu_id = s3c24xx_read_idcode_v4(); } + s3c24xx_init_cpu(); arm_pm_restart = s3c24xx_pm_restart; - s3c_init_cpu(idcode, cpu_ids, ARRAY_SIZE(cpu_ids)); + s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids)); } |