diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 53cb380b7877..2590463e4b57 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/of_platform.h> | 16 | #include <linux/of_platform.h> |
17 | #include <linux/irqdomain.h> | 17 | #include <linux/irqdomain.h> |
18 | 18 | ||
19 | #include <asm/hardware/gic.h> | ||
20 | #include <asm/mach/arch.h> | 19 | #include <asm/mach/arch.h> |
21 | 20 | ||
22 | #include "common.h" | 21 | #include "common.h" |
@@ -65,7 +64,7 @@ DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") | |||
65 | .init_irq = omap_intc_of_init, | 64 | .init_irq = omap_intc_of_init, |
66 | .handle_irq = omap2_intc_handle_irq, | 65 | .handle_irq = omap2_intc_handle_irq, |
67 | .init_machine = omap_generic_init, | 66 | .init_machine = omap_generic_init, |
68 | .timer = &omap2_timer, | 67 | .init_time = omap2_sync32k_timer_init, |
69 | .dt_compat = omap242x_boards_compat, | 68 | .dt_compat = omap242x_boards_compat, |
70 | .restart = omap2xxx_restart, | 69 | .restart = omap2xxx_restart, |
71 | MACHINE_END | 70 | MACHINE_END |
@@ -84,7 +83,7 @@ DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") | |||
84 | .init_irq = omap_intc_of_init, | 83 | .init_irq = omap_intc_of_init, |
85 | .handle_irq = omap2_intc_handle_irq, | 84 | .handle_irq = omap2_intc_handle_irq, |
86 | .init_machine = omap_generic_init, | 85 | .init_machine = omap_generic_init, |
87 | .timer = &omap2_timer, | 86 | .init_time = omap2_sync32k_timer_init, |
88 | .dt_compat = omap243x_boards_compat, | 87 | .dt_compat = omap243x_boards_compat, |
89 | .restart = omap2xxx_restart, | 88 | .restart = omap2xxx_restart, |
90 | MACHINE_END | 89 | MACHINE_END |
@@ -103,7 +102,7 @@ DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") | |||
103 | .init_irq = omap_intc_of_init, | 102 | .init_irq = omap_intc_of_init, |
104 | .handle_irq = omap3_intc_handle_irq, | 103 | .handle_irq = omap3_intc_handle_irq, |
105 | .init_machine = omap_generic_init, | 104 | .init_machine = omap_generic_init, |
106 | .timer = &omap3_timer, | 105 | .init_time = omap3_sync32k_timer_init, |
107 | .dt_compat = omap3_boards_compat, | 106 | .dt_compat = omap3_boards_compat, |
108 | .restart = omap3xxx_restart, | 107 | .restart = omap3xxx_restart, |
109 | MACHINE_END | 108 | MACHINE_END |
@@ -120,7 +119,7 @@ DT_MACHINE_START(OMAP3_GP_DT, "Generic OMAP3-GP (Flattened Device Tree)") | |||
120 | .init_irq = omap_intc_of_init, | 119 | .init_irq = omap_intc_of_init, |
121 | .handle_irq = omap3_intc_handle_irq, | 120 | .handle_irq = omap3_intc_handle_irq, |
122 | .init_machine = omap_generic_init, | 121 | .init_machine = omap_generic_init, |
123 | .timer = &omap3_secure_timer, | 122 | .init_time = omap3_secure_sync32k_timer_init, |
124 | .dt_compat = omap3_gp_boards_compat, | 123 | .dt_compat = omap3_gp_boards_compat, |
125 | .restart = omap3xxx_restart, | 124 | .restart = omap3xxx_restart, |
126 | MACHINE_END | 125 | MACHINE_END |
@@ -139,7 +138,7 @@ DT_MACHINE_START(AM33XX_DT, "Generic AM33XX (Flattened Device Tree)") | |||
139 | .init_irq = omap_intc_of_init, | 138 | .init_irq = omap_intc_of_init, |
140 | .handle_irq = omap3_intc_handle_irq, | 139 | .handle_irq = omap3_intc_handle_irq, |
141 | .init_machine = omap_generic_init, | 140 | .init_machine = omap_generic_init, |
142 | .timer = &omap3_am33xx_timer, | 141 | .init_time = omap3_am33xx_gptimer_timer_init, |
143 | .dt_compat = am33xx_boards_compat, | 142 | .dt_compat = am33xx_boards_compat, |
144 | MACHINE_END | 143 | MACHINE_END |
145 | #endif | 144 | #endif |
@@ -156,10 +155,9 @@ DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") | |||
156 | .map_io = omap4_map_io, | 155 | .map_io = omap4_map_io, |
157 | .init_early = omap4430_init_early, | 156 | .init_early = omap4430_init_early, |
158 | .init_irq = omap_gic_of_init, | 157 | .init_irq = omap_gic_of_init, |
159 | .handle_irq = gic_handle_irq, | ||
160 | .init_machine = omap_generic_init, | 158 | .init_machine = omap_generic_init, |
161 | .init_late = omap4430_init_late, | 159 | .init_late = omap4430_init_late, |
162 | .timer = &omap4_timer, | 160 | .init_time = omap4_local_timer_init, |
163 | .dt_compat = omap4_boards_compat, | 161 | .dt_compat = omap4_boards_compat, |
164 | .restart = omap44xx_restart, | 162 | .restart = omap44xx_restart, |
165 | MACHINE_END | 163 | MACHINE_END |
@@ -177,9 +175,8 @@ DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)") | |||
177 | .map_io = omap5_map_io, | 175 | .map_io = omap5_map_io, |
178 | .init_early = omap5_init_early, | 176 | .init_early = omap5_init_early, |
179 | .init_irq = omap_gic_of_init, | 177 | .init_irq = omap_gic_of_init, |
180 | .handle_irq = gic_handle_irq, | ||
181 | .init_machine = omap_generic_init, | 178 | .init_machine = omap_generic_init, |
182 | .timer = &omap5_timer, | 179 | .init_time = omap5_realtime_timer_init, |
183 | .dt_compat = omap5_boards_compat, | 180 | .dt_compat = omap5_boards_compat, |
184 | .restart = omap44xx_restart, | 181 | .restart = omap44xx_restart, |
185 | MACHINE_END | 182 | MACHINE_END |