aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5p64x0/mach-smdk6440.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5p64x0/mach-smdk6440.c')
-rw-r--r--arch/arm/mach-s5p64x0/mach-smdk6440.c8
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 fe168a087531..a40e325d62c8 100644
--- a/arch/arm/mach-s5p64x0/mach-smdk6440.c
+++ b/arch/arm/mach-s5p64x0/mach-smdk6440.c
@@ -28,6 +28,7 @@
28 28
29#include <video/platform_lcd.h> 29#include <video/platform_lcd.h>
30 30
31#include <asm/hardware/vic.h>
31#include <asm/mach/arch.h> 32#include <asm/mach/arch.h>
32#include <asm/mach/map.h> 33#include <asm/mach/map.h>
33#include <asm/irq.h> 34#include <asm/irq.h>
@@ -41,7 +42,6 @@
41 42
42#include <plat/regs-serial.h> 43#include <plat/regs-serial.h>
43#include <plat/gpio-cfg.h> 44#include <plat/gpio-cfg.h>
44#include <plat/s5p6440.h>
45#include <plat/clock.h> 45#include <plat/clock.h>
46#include <plat/devs.h> 46#include <plat/devs.h>
47#include <plat/cpu.h> 47#include <plat/cpu.h>
@@ -55,6 +55,8 @@
55#include <plat/regs-fb.h> 55#include <plat/regs-fb.h>
56#include <plat/sdhci.h> 56#include <plat/sdhci.h>
57 57
58#include "common.h"
59
58#define SMDK6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ 60#define SMDK6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
59 S3C2410_UCON_RXILEVEL | \ 61 S3C2410_UCON_RXILEVEL | \
60 S3C2410_UCON_TXIRQMODE | \ 62 S3C2410_UCON_TXIRQMODE | \
@@ -222,7 +224,7 @@ static struct platform_pwm_backlight_data smdk6440_bl_data = {
222 224
223static void __init smdk6440_map_io(void) 225static void __init smdk6440_map_io(void)
224{ 226{
225 s5p_init_io(NULL, 0, S5P64X0_SYS_ID); 227 s5p64x0_init_io(NULL, 0);
226 s3c24xx_init_clocks(12000000); 228 s3c24xx_init_clocks(12000000);
227 s3c24xx_init_uarts(smdk6440_uartcfgs, ARRAY_SIZE(smdk6440_uartcfgs)); 229 s3c24xx_init_uarts(smdk6440_uartcfgs, ARRAY_SIZE(smdk6440_uartcfgs));
228 s5p_set_timer_source(S5P_PWM3, S5P_PWM4); 230 s5p_set_timer_source(S5P_PWM3, S5P_PWM4);
@@ -267,7 +269,9 @@ MACHINE_START(SMDK6440, "SMDK6440")
267 .atag_offset = 0x100, 269 .atag_offset = 0x100,
268 270
269 .init_irq = s5p6440_init_irq, 271 .init_irq = s5p6440_init_irq,
272 .handle_irq = vic_handle_irq,
270 .map_io = smdk6440_map_io, 273 .map_io = smdk6440_map_io,
271 .init_machine = smdk6440_machine_init, 274 .init_machine = smdk6440_machine_init,
272 .timer = &s5p_timer, 275 .timer = &s5p_timer,
276 .restart = s5p64x0_restart,
273MACHINE_END 277MACHINE_END