aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-universal_c210.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-12-27 02:18:36 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-03 05:25:04 -0500
commitcc511b8d84d88ab788cddbfe8d21485b1c387493 (patch)
tree982ddc62c44ad8c2bd2bd43fd87d0b5c61c61201 /arch/arm/mach-exynos/mach-universal_c210.c
parent3fa754c298b7e6fcbdbe615d6b609117fa7e0de9 (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-universal_c210.c')
-rw-r--r--arch/arm/mach-exynos/mach-universal_c210.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c
index a2a177ff4b44..4826eabf9be6 100644
--- a/arch/arm/mach-exynos/mach-universal_c210.c
+++ b/arch/arm/mach-exynos/mach-universal_c210.c
@@ -27,7 +27,6 @@
27#include <asm/mach-types.h> 27#include <asm/mach-types.h>
28 28
29#include <plat/regs-serial.h> 29#include <plat/regs-serial.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/iic.h> 32#include <plat/iic.h>
@@ -47,6 +46,8 @@
47#include <media/s5p_fimc.h> 46#include <media/s5p_fimc.h>
48#include <media/m5mols.h> 47#include <media/m5mols.h>
49 48
49#include "common.h"
50
50/* Following are default values for UCON, ULCON and UFCON UART registers */ 51/* Following are default values for UCON, ULCON and UFCON UART registers */
51#define UNIVERSAL_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ 52#define UNIVERSAL_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
52 S3C2410_UCON_RXILEVEL | \ 53 S3C2410_UCON_RXILEVEL | \
@@ -992,7 +993,7 @@ static struct platform_device *universal_devices[] __initdata = {
992 993
993static void __init universal_map_io(void) 994static void __init universal_map_io(void)
994{ 995{
995 s5p_init_io(NULL, 0, S5P_VA_CHIPID); 996 exynos_init_io(NULL, 0);
996 s3c24xx_init_clocks(24000000); 997 s3c24xx_init_clocks(24000000);
997 s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs)); 998 s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs));
998} 999}