aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/mach-goni.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-12-22 17:32:07 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-12-23 14:11:28 -0500
commit3fa754c298b7e6fcbdbe615d6b609117fa7e0de9 (patch)
treeaebfe49d8b77a839f73c7c32e69e364a28103513 /arch/arm/mach-s5pv210/mach-goni.c
parentdd4153d9af67496f6545831e72c743060d33a830 (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-goni.c')
-rw-r--r--arch/arm/mach-s5pv210/mach-goni.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index 15edcae448b9..b542f055d0c7 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -37,7 +37,6 @@
37 37
38#include <plat/gpio-cfg.h> 38#include <plat/gpio-cfg.h>
39#include <plat/regs-serial.h> 39#include <plat/regs-serial.h>
40#include <plat/s5pv210.h>
41#include <plat/devs.h> 40#include <plat/devs.h>
42#include <plat/cpu.h> 41#include <plat/cpu.h>
43#include <plat/fb.h> 42#include <plat/fb.h>
@@ -54,6 +53,8 @@
54#include <media/s5p_fimc.h> 53#include <media/s5p_fimc.h>
55#include <media/noon010pc30.h> 54#include <media/noon010pc30.h>
56 55
56#include "common.h"
57
57/* Following are default values for UCON, ULCON and UFCON UART registers */ 58/* Following are default values for UCON, ULCON and UFCON UART registers */
58#define GONI_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ 59#define GONI_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
59 S3C2410_UCON_RXILEVEL | \ 60 S3C2410_UCON_RXILEVEL | \
@@ -890,7 +891,7 @@ static void __init goni_sound_init(void)
890 891
891static void __init goni_map_io(void) 892static void __init goni_map_io(void)
892{ 893{
893 s5p_init_io(NULL, 0, S5P_VA_CHIPID); 894 s5pv210_init_io(NULL, 0);
894 s3c24xx_init_clocks(24000000); 895 s3c24xx_init_clocks(24000000);
895 s3c24xx_init_uarts(goni_uartcfgs, ARRAY_SIZE(goni_uartcfgs)); 896 s3c24xx_init_uarts(goni_uartcfgs, ARRAY_SIZE(goni_uartcfgs));
896 s5p_set_timer_source(S5P_PWM3, S5P_PWM4); 897 s5p_set_timer_source(S5P_PWM3, S5P_PWM4);