diff options
Diffstat (limited to 'arch/arm/mach-s5p64x0/mach-smdk6440.c')
-rw-r--r-- | arch/arm/mach-s5p64x0/mach-smdk6440.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-s5p64x0/mach-smdk6440.c b/arch/arm/mach-s5p64x0/mach-smdk6440.c index 4a1250cd1356..34d98a1dae57 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6440.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6440.c | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | #include <video/platform_lcd.h> | 28 | #include <video/platform_lcd.h> |
29 | 29 | ||
30 | #include <asm/hardware/vic.h> | ||
30 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
31 | #include <asm/mach/map.h> | 32 | #include <asm/mach/map.h> |
32 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
@@ -40,7 +41,6 @@ | |||
40 | 41 | ||
41 | #include <plat/regs-serial.h> | 42 | #include <plat/regs-serial.h> |
42 | #include <plat/gpio-cfg.h> | 43 | #include <plat/gpio-cfg.h> |
43 | #include <plat/s5p6440.h> | ||
44 | #include <plat/clock.h> | 44 | #include <plat/clock.h> |
45 | #include <plat/devs.h> | 45 | #include <plat/devs.h> |
46 | #include <plat/cpu.h> | 46 | #include <plat/cpu.h> |
@@ -53,6 +53,8 @@ | |||
53 | #include <plat/fb.h> | 53 | #include <plat/fb.h> |
54 | #include <plat/regs-fb.h> | 54 | #include <plat/regs-fb.h> |
55 | 55 | ||
56 | #include "common.h" | ||
57 | |||
56 | #define SMDK6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 58 | #define SMDK6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
57 | S3C2410_UCON_RXILEVEL | \ | 59 | S3C2410_UCON_RXILEVEL | \ |
58 | S3C2410_UCON_TXIRQMODE | \ | 60 | S3C2410_UCON_TXIRQMODE | \ |
@@ -201,7 +203,7 @@ static struct platform_pwm_backlight_data smdk6440_bl_data = { | |||
201 | 203 | ||
202 | static void __init smdk6440_map_io(void) | 204 | static void __init smdk6440_map_io(void) |
203 | { | 205 | { |
204 | s5p_init_io(NULL, 0, S5P64X0_SYS_ID); | 206 | s5p64x0_init_io(NULL, 0); |
205 | s3c24xx_init_clocks(12000000); | 207 | s3c24xx_init_clocks(12000000); |
206 | s3c24xx_init_uarts(smdk6440_uartcfgs, ARRAY_SIZE(smdk6440_uartcfgs)); | 208 | s3c24xx_init_uarts(smdk6440_uartcfgs, ARRAY_SIZE(smdk6440_uartcfgs)); |
207 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 209 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |
@@ -242,7 +244,9 @@ MACHINE_START(SMDK6440, "SMDK6440") | |||
242 | .atag_offset = 0x100, | 244 | .atag_offset = 0x100, |
243 | 245 | ||
244 | .init_irq = s5p6440_init_irq, | 246 | .init_irq = s5p6440_init_irq, |
247 | .handle_irq = vic_handle_irq, | ||
245 | .map_io = smdk6440_map_io, | 248 | .map_io = smdk6440_map_io, |
246 | .init_machine = smdk6440_machine_init, | 249 | .init_machine = smdk6440_machine_init, |
247 | .timer = &s5p_timer, | 250 | .timer = &s5p_timer, |
251 | .restart = s5p64x0_restart, | ||
248 | MACHINE_END | 252 | MACHINE_END |