diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-22 17:32:07 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-23 14:11:28 -0500 |
commit | 3fa754c298b7e6fcbdbe615d6b609117fa7e0de9 (patch) | |
tree | aebfe49d8b77a839f73c7c32e69e364a28103513 /arch/arm/mach-s5pv210/mach-aquila.c | |
parent | dd4153d9af67496f6545831e72c743060d33a830 (diff) |
ARM: 7248/1: S5PV210: introduce arch/arm/mach-s5pv210/common.[ch]
This patch introduces common.[ch] which are used only in the
arch/arm/mach-s5pv210/ directory. The common.c file merges
the cpu.c and init.c which are used commonly on S5PCV210/S5PC100
SoC and the common.h local header file replaces with plat/s5pv210.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/mach-s5pv210/mach-aquila.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-aquila.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index 5811a96125f0..261373923c17 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c | |||
@@ -32,7 +32,6 @@ | |||
32 | 32 | ||
33 | #include <plat/gpio-cfg.h> | 33 | #include <plat/gpio-cfg.h> |
34 | #include <plat/regs-serial.h> | 34 | #include <plat/regs-serial.h> |
35 | #include <plat/s5pv210.h> | ||
36 | #include <plat/devs.h> | 35 | #include <plat/devs.h> |
37 | #include <plat/cpu.h> | 36 | #include <plat/cpu.h> |
38 | #include <plat/fb.h> | 37 | #include <plat/fb.h> |
@@ -41,6 +40,8 @@ | |||
41 | #include <plat/s5p-time.h> | 40 | #include <plat/s5p-time.h> |
42 | #include <plat/regs-fb-v4.h> | 41 | #include <plat/regs-fb-v4.h> |
43 | 42 | ||
43 | #include "common.h" | ||
44 | |||
44 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 45 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
45 | #define AQUILA_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 46 | #define AQUILA_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
46 | S3C2410_UCON_RXILEVEL | \ | 47 | S3C2410_UCON_RXILEVEL | \ |
@@ -644,7 +645,7 @@ static void __init aquila_sound_init(void) | |||
644 | 645 | ||
645 | static void __init aquila_map_io(void) | 646 | static void __init aquila_map_io(void) |
646 | { | 647 | { |
647 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 648 | s5pv210_init_io(NULL, 0); |
648 | s3c24xx_init_clocks(24000000); | 649 | s3c24xx_init_clocks(24000000); |
649 | s3c24xx_init_uarts(aquila_uartcfgs, ARRAY_SIZE(aquila_uartcfgs)); | 650 | s3c24xx_init_uarts(aquila_uartcfgs, ARRAY_SIZE(aquila_uartcfgs)); |
650 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 651 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |