diff options
Diffstat (limited to 'arch/arm/mach-s5pc100/mach-smdkc100.c')
-rw-r--r-- | arch/arm/mach-s5pc100/mach-smdkc100.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pc100/mach-smdkc100.c b/arch/arm/mach-s5pc100/mach-smdkc100.c index 26f5c91c9427..674d22992f3c 100644 --- a/arch/arm/mach-s5pc100/mach-smdkc100.c +++ b/arch/arm/mach-s5pc100/mach-smdkc100.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/input.h> | 25 | #include <linux/input.h> |
26 | #include <linux/pwm_backlight.h> | 26 | #include <linux/pwm_backlight.h> |
27 | 27 | ||
28 | #include <asm/hardware/vic.h> | ||
28 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
29 | #include <asm/mach/map.h> | 30 | #include <asm/mach/map.h> |
30 | 31 | ||
@@ -42,7 +43,6 @@ | |||
42 | #include <plat/clock.h> | 43 | #include <plat/clock.h> |
43 | #include <plat/devs.h> | 44 | #include <plat/devs.h> |
44 | #include <plat/cpu.h> | 45 | #include <plat/cpu.h> |
45 | #include <plat/s5pc100.h> | ||
46 | #include <plat/fb.h> | 46 | #include <plat/fb.h> |
47 | #include <plat/iic.h> | 47 | #include <plat/iic.h> |
48 | #include <plat/ata.h> | 48 | #include <plat/ata.h> |
@@ -53,6 +53,8 @@ | |||
53 | #include <plat/backlight.h> | 53 | #include <plat/backlight.h> |
54 | #include <plat/regs-fb-v4.h> | 54 | #include <plat/regs-fb-v4.h> |
55 | 55 | ||
56 | #include "common.h" | ||
57 | |||
56 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 58 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
57 | #define SMDKC100_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 59 | #define SMDKC100_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
58 | S3C2410_UCON_RXILEVEL | \ | 60 | S3C2410_UCON_RXILEVEL | \ |
@@ -215,7 +217,7 @@ static struct platform_pwm_backlight_data smdkc100_bl_data = { | |||
215 | 217 | ||
216 | static void __init smdkc100_map_io(void) | 218 | static void __init smdkc100_map_io(void) |
217 | { | 219 | { |
218 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 220 | s5pc100_init_io(NULL, 0); |
219 | s3c24xx_init_clocks(12000000); | 221 | s3c24xx_init_clocks(12000000); |
220 | s3c24xx_init_uarts(smdkc100_uartcfgs, ARRAY_SIZE(smdkc100_uartcfgs)); | 222 | s3c24xx_init_uarts(smdkc100_uartcfgs, ARRAY_SIZE(smdkc100_uartcfgs)); |
221 | } | 223 | } |
@@ -250,7 +252,9 @@ MACHINE_START(SMDKC100, "SMDKC100") | |||
250 | /* Maintainer: Byungho Min <bhmin@samsung.com> */ | 252 | /* Maintainer: Byungho Min <bhmin@samsung.com> */ |
251 | .atag_offset = 0x100, | 253 | .atag_offset = 0x100, |
252 | .init_irq = s5pc100_init_irq, | 254 | .init_irq = s5pc100_init_irq, |
255 | .handle_irq = vic_handle_irq, | ||
253 | .map_io = smdkc100_map_io, | 256 | .map_io = smdkc100_map_io, |
254 | .init_machine = smdkc100_machine_init, | 257 | .init_machine = smdkc100_machine_init, |
255 | .timer = &s3c24xx_timer, | 258 | .timer = &s3c24xx_timer, |
259 | .restart = s5pc100_restart, | ||
256 | MACHINE_END | 260 | MACHINE_END |