diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-27 02:18:36 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-03 05:25:04 -0500 |
commit | cc511b8d84d88ab788cddbfe8d21485b1c387493 (patch) | |
tree | 982ddc62c44ad8c2bd2bd43fd87d0b5c61c61201 /arch/arm/mach-exynos/mach-smdkv310.c | |
parent | 3fa754c298b7e6fcbdbe615d6b609117fa7e0de9 (diff) |
ARM: 7257/1: EXYNOS: introduce arch/arm/mach-exynos/common.[ch]
This patch introduces common.[ch] which are used only in the
arch/arm/mach-exynos/ directory. The common.c file merges
the cpu.c, init.c, irq-combiner.c and irq-eint.c files which
are used commonly on EXYNOS SoCs and the common.h file replaces
with plat/exynos4.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-exynos/mach-smdkv310.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-smdkv310.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index cec2afabe7b4..cf21d666d124 100644 --- a/arch/arm/mach-exynos/mach-smdkv310.c +++ b/arch/arm/mach-exynos/mach-smdkv310.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <plat/regs-serial.h> | 27 | #include <plat/regs-serial.h> |
28 | #include <plat/regs-srom.h> | 28 | #include <plat/regs-srom.h> |
29 | #include <plat/regs-fb-v4.h> | 29 | #include <plat/regs-fb-v4.h> |
30 | #include <plat/exynos4.h> | ||
31 | #include <plat/cpu.h> | 30 | #include <plat/cpu.h> |
32 | #include <plat/devs.h> | 31 | #include <plat/devs.h> |
33 | #include <plat/fb.h> | 32 | #include <plat/fb.h> |
@@ -43,6 +42,8 @@ | |||
43 | 42 | ||
44 | #include <mach/map.h> | 43 | #include <mach/map.h> |
45 | 44 | ||
45 | #include "common.h" | ||
46 | |||
46 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 47 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
47 | #define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 48 | #define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
48 | S3C2410_UCON_RXILEVEL | \ | 49 | S3C2410_UCON_RXILEVEL | \ |
@@ -332,7 +333,7 @@ static void s5p_tv_setup(void) | |||
332 | 333 | ||
333 | static void __init smdkv310_map_io(void) | 334 | static void __init smdkv310_map_io(void) |
334 | { | 335 | { |
335 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 336 | exynos_init_io(NULL, 0); |
336 | s3c24xx_init_clocks(24000000); | 337 | s3c24xx_init_clocks(24000000); |
337 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); | 338 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); |
338 | } | 339 | } |