aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5p64x0/mach-smdk6440.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-12-22 17:28:28 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-12-23 14:11:05 -0500
commit95af214becab511b5ef76082688865d434dada1a (patch)
treedabef4884baac7d2d1a1dd154fd29e06032870cc /arch/arm/mach-s5p64x0/mach-smdk6440.c
parentb024043b6d0d3feecb1de350de9762a00a79eda1 (diff)
ARM: 7246/1: S5P64X0: introduce arch/arm/mach-s5p64x0/common.[ch]
This patch introduces common.[ch] which are used only in the arch/arm/mach-s5p64x0/ directory. The common.c file merges the cpu.c, init.c and irq-eint.c files which are used commonly on S5P64X0 SoCs and the common.h local header file replaces with plat/s5p6440.h and plat/s5p6450.h files. 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-s5p64x0/mach-smdk6440.c')
-rw-r--r--arch/arm/mach-s5p64x0/mach-smdk6440.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s5p64x0/mach-smdk6440.c b/arch/arm/mach-s5p64x0/mach-smdk6440.c
index 4a1250cd1356..646fc995a109 100644
--- a/arch/arm/mach-s5p64x0/mach-smdk6440.c
+++ b/arch/arm/mach-s5p64x0/mach-smdk6440.c
@@ -40,7 +40,6 @@
40 40
41#include <plat/regs-serial.h> 41#include <plat/regs-serial.h>
42#include <plat/gpio-cfg.h> 42#include <plat/gpio-cfg.h>
43#include <plat/s5p6440.h>
44#include <plat/clock.h> 43#include <plat/clock.h>
45#include <plat/devs.h> 44#include <plat/devs.h>
46#include <plat/cpu.h> 45#include <plat/cpu.h>
@@ -53,6 +52,8 @@
53#include <plat/fb.h> 52#include <plat/fb.h>
54#include <plat/regs-fb.h> 53#include <plat/regs-fb.h>
55 54
55#include "common.h"
56
56#define SMDK6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ 57#define SMDK6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
57 S3C2410_UCON_RXILEVEL | \ 58 S3C2410_UCON_RXILEVEL | \
58 S3C2410_UCON_TXIRQMODE | \ 59 S3C2410_UCON_TXIRQMODE | \
@@ -201,7 +202,7 @@ static struct platform_pwm_backlight_data smdk6440_bl_data = {
201 202
202static void __init smdk6440_map_io(void) 203static void __init smdk6440_map_io(void)
203{ 204{
204 s5p_init_io(NULL, 0, S5P64X0_SYS_ID); 205 s5p64x0_init_io(NULL, 0);
205 s3c24xx_init_clocks(12000000); 206 s3c24xx_init_clocks(12000000);
206 s3c24xx_init_uarts(smdk6440_uartcfgs, ARRAY_SIZE(smdk6440_uartcfgs)); 207 s3c24xx_init_uarts(smdk6440_uartcfgs, ARRAY_SIZE(smdk6440_uartcfgs));
207 s5p_set_timer_source(S5P_PWM3, S5P_PWM4); 208 s5p_set_timer_source(S5P_PWM3, S5P_PWM4);