diff options
Diffstat (limited to 'arch/arm/mach-exynos/mach-smdkv310.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-smdkv310.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index cec2afabe7b4..a27b23eee9fa 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 | \ |
@@ -129,9 +131,7 @@ static void lcd_lte480wv_set_power(struct plat_lcd_data *pd, | |||
129 | gpio_free(EXYNOS4_GPD0(1)); | 131 | gpio_free(EXYNOS4_GPD0(1)); |
130 | #endif | 132 | #endif |
131 | /* fire nRESET on power up */ | 133 | /* fire nRESET on power up */ |
132 | gpio_request(EXYNOS4_GPX0(6), "GPX0"); | 134 | gpio_request_one(EXYNOS4_GPX0(6), GPIOF_OUT_INIT_HIGH, "GPX0"); |
133 | |||
134 | gpio_direction_output(EXYNOS4_GPX0(6), 1); | ||
135 | mdelay(100); | 135 | mdelay(100); |
136 | 136 | ||
137 | gpio_set_value(EXYNOS4_GPX0(6), 0); | 137 | gpio_set_value(EXYNOS4_GPX0(6), 0); |
@@ -332,7 +332,7 @@ static void s5p_tv_setup(void) | |||
332 | 332 | ||
333 | static void __init smdkv310_map_io(void) | 333 | static void __init smdkv310_map_io(void) |
334 | { | 334 | { |
335 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 335 | exynos_init_io(NULL, 0); |
336 | s3c24xx_init_clocks(24000000); | 336 | s3c24xx_init_clocks(24000000); |
337 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); | 337 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); |
338 | } | 338 | } |
@@ -375,9 +375,11 @@ MACHINE_START(SMDKV310, "SMDKV310") | |||
375 | .atag_offset = 0x100, | 375 | .atag_offset = 0x100, |
376 | .init_irq = exynos4_init_irq, | 376 | .init_irq = exynos4_init_irq, |
377 | .map_io = smdkv310_map_io, | 377 | .map_io = smdkv310_map_io, |
378 | .handle_irq = gic_handle_irq, | ||
378 | .init_machine = smdkv310_machine_init, | 379 | .init_machine = smdkv310_machine_init, |
379 | .timer = &exynos4_timer, | 380 | .timer = &exynos4_timer, |
380 | .reserve = &smdkv310_reserve, | 381 | .reserve = &smdkv310_reserve, |
382 | .restart = exynos4_restart, | ||
381 | MACHINE_END | 383 | MACHINE_END |
382 | 384 | ||
383 | MACHINE_START(SMDKC210, "SMDKC210") | 385 | MACHINE_START(SMDKC210, "SMDKC210") |
@@ -385,6 +387,8 @@ MACHINE_START(SMDKC210, "SMDKC210") | |||
385 | .atag_offset = 0x100, | 387 | .atag_offset = 0x100, |
386 | .init_irq = exynos4_init_irq, | 388 | .init_irq = exynos4_init_irq, |
387 | .map_io = smdkv310_map_io, | 389 | .map_io = smdkv310_map_io, |
390 | .handle_irq = gic_handle_irq, | ||
388 | .init_machine = smdkv310_machine_init, | 391 | .init_machine = smdkv310_machine_init, |
389 | .timer = &exynos4_timer, | 392 | .timer = &exynos4_timer, |
393 | .restart = exynos4_restart, | ||
390 | MACHINE_END | 394 | MACHINE_END |