diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-22 17:31:28 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-23 14:11:19 -0500 |
commit | dd4153d9af67496f6545831e72c743060d33a830 (patch) | |
tree | e1ddc02db02db746a4b4f97e7b2026629aa10634 /arch/arm/plat-s5p | |
parent | 95af214becab511b5ef76082688865d434dada1a (diff) |
ARM: 7247/1: S5PC100: introduce arch/arm/mach-s5pc100/common.[ch]
This patch introduces common.[ch] which are used only in the
arch/arm/mach-s5pc100/ directory. The common.c file merges
the cpu.c and init.c which are used commonly on S5PC100 SoC
and the common.h local header file replaces with plat/s5pc100.h
file.
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-s5p')
-rw-r--r-- | arch/arm/plat-s5p/cpu.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/plat-s5p/cpu.c b/arch/arm/plat-s5p/cpu.c index 2fb9a9c87ead..74bcd716f300 100644 --- a/arch/arm/plat-s5p/cpu.c +++ b/arch/arm/plat-s5p/cpu.c | |||
@@ -20,13 +20,11 @@ | |||
20 | #include <mach/regs-clock.h> | 20 | #include <mach/regs-clock.h> |
21 | 21 | ||
22 | #include <plat/cpu.h> | 22 | #include <plat/cpu.h> |
23 | #include <plat/s5pc100.h> | ||
24 | #include <plat/s5pv210.h> | 23 | #include <plat/s5pv210.h> |
25 | #include <plat/exynos4.h> | 24 | #include <plat/exynos4.h> |
26 | 25 | ||
27 | /* table of supported CPUs */ | 26 | /* table of supported CPUs */ |
28 | 27 | ||
29 | static const char name_s5pc100[] = "S5PC100"; | ||
30 | static const char name_s5pv210[] = "S5PV210/S5PC110"; | 28 | static const char name_s5pv210[] = "S5PV210/S5PC110"; |
31 | static const char name_exynos4210[] = "EXYNOS4210"; | 29 | static const char name_exynos4210[] = "EXYNOS4210"; |
32 | static const char name_exynos4212[] = "EXYNOS4212"; | 30 | static const char name_exynos4212[] = "EXYNOS4212"; |
@@ -34,14 +32,6 @@ static const char name_exynos4412[] = "EXYNOS4412"; | |||
34 | 32 | ||
35 | static struct cpu_table cpu_ids[] __initdata = { | 33 | static struct cpu_table cpu_ids[] __initdata = { |
36 | { | 34 | { |
37 | .idcode = S5PC100_CPU_ID, | ||
38 | .idmask = S5PC100_CPU_MASK, | ||
39 | .map_io = s5pc100_map_io, | ||
40 | .init_clocks = s5pc100_init_clocks, | ||
41 | .init_uarts = s5pc100_init_uarts, | ||
42 | .init = s5pc100_init, | ||
43 | .name = name_s5pc100, | ||
44 | }, { | ||
45 | .idcode = S5PV210_CPU_ID, | 35 | .idcode = S5PV210_CPU_ID, |
46 | .idmask = S5PV210_CPU_MASK, | 36 | .idmask = S5PV210_CPU_MASK, |
47 | .map_io = s5pv210_map_io, | 37 | .map_io = s5pv210_map_io, |