diff options
Diffstat (limited to 'arch/arm/mach-exynos/mach-smdkv310.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-smdkv310.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index cec2afabe7b4..5b365613b470 100644 --- a/arch/arm/mach-exynos/mach-smdkv310.c +++ b/arch/arm/mach-exynos/mach-smdkv310.c | |||
@@ -21,13 +21,13 @@ | |||
21 | #include <linux/pwm_backlight.h> | 21 | #include <linux/pwm_backlight.h> |
22 | 22 | ||
23 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
24 | #include <asm/hardware/gic.h> | ||
24 | #include <asm/mach-types.h> | 25 | #include <asm/mach-types.h> |
25 | 26 | ||
26 | #include <video/platform_lcd.h> | 27 | #include <video/platform_lcd.h> |
27 | #include <plat/regs-serial.h> | 28 | #include <plat/regs-serial.h> |
28 | #include <plat/regs-srom.h> | 29 | #include <plat/regs-srom.h> |
29 | #include <plat/regs-fb-v4.h> | 30 | #include <plat/regs-fb-v4.h> |
30 | #include <plat/exynos4.h> | ||
31 | #include <plat/cpu.h> | 31 | #include <plat/cpu.h> |
32 | #include <plat/devs.h> | 32 | #include <plat/devs.h> |
33 | #include <plat/fb.h> | 33 | #include <plat/fb.h> |
@@ -43,6 +43,8 @@ | |||
43 | 43 | ||
44 | #include <mach/map.h> | 44 | #include <mach/map.h> |
45 | 45 | ||
46 | #include "common.h" | ||
47 | |||
46 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 48 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
47 | #define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 49 | #define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
48 | S3C2410_UCON_RXILEVEL | \ | 50 | S3C2410_UCON_RXILEVEL | \ |
@@ -332,7 +334,7 @@ static void s5p_tv_setup(void) | |||
332 | 334 | ||
333 | static void __init smdkv310_map_io(void) | 335 | static void __init smdkv310_map_io(void) |
334 | { | 336 | { |
335 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 337 | exynos_init_io(NULL, 0); |
336 | s3c24xx_init_clocks(24000000); | 338 | s3c24xx_init_clocks(24000000); |
337 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); | 339 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); |
338 | } | 340 | } |
@@ -375,9 +377,11 @@ MACHINE_START(SMDKV310, "SMDKV310") | |||
375 | .atag_offset = 0x100, | 377 | .atag_offset = 0x100, |
376 | .init_irq = exynos4_init_irq, | 378 | .init_irq = exynos4_init_irq, |
377 | .map_io = smdkv310_map_io, | 379 | .map_io = smdkv310_map_io, |
380 | .handle_irq = gic_handle_irq, | ||
378 | .init_machine = smdkv310_machine_init, | 381 | .init_machine = smdkv310_machine_init, |
379 | .timer = &exynos4_timer, | 382 | .timer = &exynos4_timer, |
380 | .reserve = &smdkv310_reserve, | 383 | .reserve = &smdkv310_reserve, |
384 | .restart = exynos4_restart, | ||
381 | MACHINE_END | 385 | MACHINE_END |
382 | 386 | ||
383 | MACHINE_START(SMDKC210, "SMDKC210") | 387 | MACHINE_START(SMDKC210, "SMDKC210") |
@@ -385,6 +389,8 @@ MACHINE_START(SMDKC210, "SMDKC210") | |||
385 | .atag_offset = 0x100, | 389 | .atag_offset = 0x100, |
386 | .init_irq = exynos4_init_irq, | 390 | .init_irq = exynos4_init_irq, |
387 | .map_io = smdkv310_map_io, | 391 | .map_io = smdkv310_map_io, |
392 | .handle_irq = gic_handle_irq, | ||
388 | .init_machine = smdkv310_machine_init, | 393 | .init_machine = smdkv310_machine_init, |
389 | .timer = &exynos4_timer, | 394 | .timer = &exynos4_timer, |
395 | .restart = exynos4_restart, | ||
390 | MACHINE_END | 396 | MACHINE_END |