aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-smdkv310.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/mach-smdkv310.c')
-rw-r--r--arch/arm/mach-exynos/mach-smdkv310.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c
index edc60b6108ed..a27b23eee9fa 100644
--- a/arch/arm/mach-exynos/mach-smdkv310.c
+++ b/arch/arm/mach-exynos/mach-smdkv310.c
@@ -28,7 +28,6 @@
28#include <plat/regs-serial.h> 28#include <plat/regs-serial.h>
29#include <plat/regs-srom.h> 29#include <plat/regs-srom.h>
30#include <plat/regs-fb-v4.h> 30#include <plat/regs-fb-v4.h>
31#include <plat/exynos4.h>
32#include <plat/cpu.h> 31#include <plat/cpu.h>
33#include <plat/devs.h> 32#include <plat/devs.h>
34#include <plat/fb.h> 33#include <plat/fb.h>
@@ -44,6 +43,8 @@
44 43
45#include <mach/map.h> 44#include <mach/map.h>
46 45
46#include "common.h"
47
47/* Following are default values for UCON, ULCON and UFCON UART registers */ 48/* Following are default values for UCON, ULCON and UFCON UART registers */
48#define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ 49#define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
49 S3C2410_UCON_RXILEVEL | \ 50 S3C2410_UCON_RXILEVEL | \
@@ -130,9 +131,7 @@ static void lcd_lte480wv_set_power(struct plat_lcd_data *pd,
130 gpio_free(EXYNOS4_GPD0(1)); 131 gpio_free(EXYNOS4_GPD0(1));
131#endif 132#endif
132 /* fire nRESET on power up */ 133 /* fire nRESET on power up */
133 gpio_request(EXYNOS4_GPX0(6), "GPX0"); 134 gpio_request_one(EXYNOS4_GPX0(6), GPIOF_OUT_INIT_HIGH, "GPX0");
134
135 gpio_direction_output(EXYNOS4_GPX0(6), 1);
136 mdelay(100); 135 mdelay(100);
137 136
138 gpio_set_value(EXYNOS4_GPX0(6), 0); 137 gpio_set_value(EXYNOS4_GPX0(6), 0);
@@ -333,7 +332,7 @@ static void s5p_tv_setup(void)
333 332
334static void __init smdkv310_map_io(void) 333static void __init smdkv310_map_io(void)
335{ 334{
336 s5p_init_io(NULL, 0, S5P_VA_CHIPID); 335 exynos_init_io(NULL, 0);
337 s3c24xx_init_clocks(24000000); 336 s3c24xx_init_clocks(24000000);
338 s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); 337 s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs));
339} 338}
@@ -380,6 +379,7 @@ MACHINE_START(SMDKV310, "SMDKV310")
380 .init_machine = smdkv310_machine_init, 379 .init_machine = smdkv310_machine_init,
381 .timer = &exynos4_timer, 380 .timer = &exynos4_timer,
382 .reserve = &smdkv310_reserve, 381 .reserve = &smdkv310_reserve,
382 .restart = exynos4_restart,
383MACHINE_END 383MACHINE_END
384 384
385MACHINE_START(SMDKC210, "SMDKC210") 385MACHINE_START(SMDKC210, "SMDKC210")
@@ -390,4 +390,5 @@ MACHINE_START(SMDKC210, "SMDKC210")
390 .handle_irq = gic_handle_irq, 390 .handle_irq = gic_handle_irq,
391 .init_machine = smdkv310_machine_init, 391 .init_machine = smdkv310_machine_init,
392 .timer = &exynos4_timer, 392 .timer = &exynos4_timer,
393 .restart = exynos4_restart,
393MACHINE_END 394MACHINE_END