diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-aquila.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-aquila.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index 5811a96125f0..6f7dfe993c12 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 | \ |
@@ -644,7 +646,7 @@ static void __init aquila_sound_init(void) | |||
644 | 646 | ||
645 | static void __init aquila_map_io(void) | 647 | static void __init aquila_map_io(void) |
646 | { | 648 | { |
647 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 649 | s5pv210_init_io(NULL, 0); |
648 | s3c24xx_init_clocks(24000000); | 650 | s3c24xx_init_clocks(24000000); |
649 | s3c24xx_init_uarts(aquila_uartcfgs, ARRAY_SIZE(aquila_uartcfgs)); | 651 | s3c24xx_init_uarts(aquila_uartcfgs, ARRAY_SIZE(aquila_uartcfgs)); |
650 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 652 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |
@@ -680,7 +682,9 @@ MACHINE_START(AQUILA, "Aquila") | |||
680 | Kyungmin Park <kyungmin.park@samsung.com> */ | 682 | Kyungmin Park <kyungmin.park@samsung.com> */ |
681 | .atag_offset = 0x100, | 683 | .atag_offset = 0x100, |
682 | .init_irq = s5pv210_init_irq, | 684 | .init_irq = s5pv210_init_irq, |
685 | .handle_irq = vic_handle_irq, | ||
683 | .map_io = aquila_map_io, | 686 | .map_io = aquila_map_io, |
684 | .init_machine = aquila_machine_init, | 687 | .init_machine = aquila_machine_init, |
685 | .timer = &s5p_timer, | 688 | .timer = &s5p_timer, |
689 | .restart = s5pv210_restart, | ||
686 | MACHINE_END | 690 | MACHINE_END |