diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-aquila.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-aquila.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index 5811a96125f0..5e734d025a6a 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/input.h> | 22 | #include <linux/input.h> |
23 | #include <linux/gpio.h> | 23 | #include <linux/gpio.h> |
24 | 24 | ||
25 | #include <asm/hardware/vic.h> | ||
25 | #include <asm/mach/arch.h> | 26 | #include <asm/mach/arch.h> |
26 | #include <asm/mach/map.h> | 27 | #include <asm/mach/map.h> |
27 | #include <asm/setup.h> | 28 | #include <asm/setup.h> |
@@ -32,7 +33,6 @@ | |||
32 | 33 | ||
33 | #include <plat/gpio-cfg.h> | 34 | #include <plat/gpio-cfg.h> |
34 | #include <plat/regs-serial.h> | 35 | #include <plat/regs-serial.h> |
35 | #include <plat/s5pv210.h> | ||
36 | #include <plat/devs.h> | 36 | #include <plat/devs.h> |
37 | #include <plat/cpu.h> | 37 | #include <plat/cpu.h> |
38 | #include <plat/fb.h> | 38 | #include <plat/fb.h> |
@@ -41,6 +41,8 @@ | |||
41 | #include <plat/s5p-time.h> | 41 | #include <plat/s5p-time.h> |
42 | #include <plat/regs-fb-v4.h> | 42 | #include <plat/regs-fb-v4.h> |
43 | 43 | ||
44 | #include "common.h" | ||
45 | |||
44 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 46 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
45 | #define AQUILA_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 47 | #define AQUILA_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
46 | S3C2410_UCON_RXILEVEL | \ | 48 | S3C2410_UCON_RXILEVEL | \ |
@@ -595,8 +597,7 @@ static struct s3c_sdhci_platdata aquila_hsmmc2_data __initdata = { | |||
595 | 597 | ||
596 | static void aquila_setup_sdhci(void) | 598 | static void aquila_setup_sdhci(void) |
597 | { | 599 | { |
598 | gpio_request(AQUILA_EXT_FLASH_EN, "FLASH_EN"); | 600 | gpio_request_one(AQUILA_EXT_FLASH_EN, GPIOF_OUT_INIT_HIGH, "FLASH_EN"); |
599 | gpio_direction_output(AQUILA_EXT_FLASH_EN, 1); | ||
600 | 601 | ||
601 | s3c_sdhci0_set_platdata(&aquila_hsmmc0_data); | 602 | s3c_sdhci0_set_platdata(&aquila_hsmmc0_data); |
602 | s3c_sdhci1_set_platdata(&aquila_hsmmc1_data); | 603 | s3c_sdhci1_set_platdata(&aquila_hsmmc1_data); |
@@ -644,7 +645,7 @@ static void __init aquila_sound_init(void) | |||
644 | 645 | ||
645 | static void __init aquila_map_io(void) | 646 | static void __init aquila_map_io(void) |
646 | { | 647 | { |
647 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 648 | s5pv210_init_io(NULL, 0); |
648 | s3c24xx_init_clocks(24000000); | 649 | s3c24xx_init_clocks(24000000); |
649 | s3c24xx_init_uarts(aquila_uartcfgs, ARRAY_SIZE(aquila_uartcfgs)); | 650 | s3c24xx_init_uarts(aquila_uartcfgs, ARRAY_SIZE(aquila_uartcfgs)); |
650 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 651 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |
@@ -680,7 +681,9 @@ MACHINE_START(AQUILA, "Aquila") | |||
680 | Kyungmin Park <kyungmin.park@samsung.com> */ | 681 | Kyungmin Park <kyungmin.park@samsung.com> */ |
681 | .atag_offset = 0x100, | 682 | .atag_offset = 0x100, |
682 | .init_irq = s5pv210_init_irq, | 683 | .init_irq = s5pv210_init_irq, |
684 | .handle_irq = vic_handle_irq, | ||
683 | .map_io = aquila_map_io, | 685 | .map_io = aquila_map_io, |
684 | .init_machine = aquila_machine_init, | 686 | .init_machine = aquila_machine_init, |
685 | .timer = &s5p_timer, | 687 | .timer = &s5p_timer, |
688 | .restart = s5pv210_restart, | ||
686 | MACHINE_END | 689 | MACHINE_END |