diff options
author | Nishanth Menon <nm@ti.com> | 2013-10-16 11:39:02 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-10-22 11:09:50 -0400 |
commit | 765e7a067eebf372687048ba0242e27f43cf0d71 (patch) | |
tree | d90e8633cbc9e9faccc4f4ca1052e38c758669a6 /arch/arm/mach-omap2/board-generic.c | |
parent | 92d51856d7405fa55bcf3d6f20d7e97e0bf2656c (diff) |
ARM: OMAP2+: add missing lateinit hook for calling pm late init
AM335x, AM43xx, OMAP5 and DRA7 have missing late init hook. Introduce
SoC specific hook with a call to OMAP2+ generic lateinit hook. This
allows the generic late initializations such as cpufreq hooks to be
active.
Based on out-of-tree patches that need to be introduced in
mainline, this introduction allows us to provide the foundation for
further SoC specific features as they are developed.
Cc: Benoit Cousson <bcousson@baylibre.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 3896b12b0006..19f1652e94cf 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -146,6 +146,7 @@ DT_MACHINE_START(AM33XX_DT, "Generic AM33XX (Flattened Device Tree)") | |||
146 | .init_irq = omap_intc_of_init, | 146 | .init_irq = omap_intc_of_init, |
147 | .handle_irq = omap3_intc_handle_irq, | 147 | .handle_irq = omap3_intc_handle_irq, |
148 | .init_machine = omap_generic_init, | 148 | .init_machine = omap_generic_init, |
149 | .init_late = am33xx_init_late, | ||
149 | .init_time = omap3_gptimer_timer_init, | 150 | .init_time = omap3_gptimer_timer_init, |
150 | .dt_compat = am33xx_boards_compat, | 151 | .dt_compat = am33xx_boards_compat, |
151 | .restart = am33xx_restart, | 152 | .restart = am33xx_restart, |
@@ -185,6 +186,7 @@ DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)") | |||
185 | .init_early = omap5_init_early, | 186 | .init_early = omap5_init_early, |
186 | .init_irq = omap_gic_of_init, | 187 | .init_irq = omap_gic_of_init, |
187 | .init_machine = omap_generic_init, | 188 | .init_machine = omap_generic_init, |
189 | .init_late = omap5_init_late, | ||
188 | .init_time = omap5_realtime_timer_init, | 190 | .init_time = omap5_realtime_timer_init, |
189 | .dt_compat = omap5_boards_compat, | 191 | .dt_compat = omap5_boards_compat, |
190 | .restart = omap44xx_restart, | 192 | .restart = omap44xx_restart, |
@@ -200,6 +202,7 @@ static const char *am43_boards_compat[] __initdata = { | |||
200 | DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)") | 202 | DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)") |
201 | .map_io = am33xx_map_io, | 203 | .map_io = am33xx_map_io, |
202 | .init_early = am43xx_init_early, | 204 | .init_early = am43xx_init_early, |
205 | .init_late = am43xx_init_late, | ||
203 | .init_irq = omap_gic_of_init, | 206 | .init_irq = omap_gic_of_init, |
204 | .init_machine = omap_generic_init, | 207 | .init_machine = omap_generic_init, |
205 | .init_time = omap3_sync32k_timer_init, | 208 | .init_time = omap3_sync32k_timer_init, |
@@ -218,6 +221,7 @@ DT_MACHINE_START(DRA7XX_DT, "Generic DRA7XX (Flattened Device Tree)") | |||
218 | .smp = smp_ops(omap4_smp_ops), | 221 | .smp = smp_ops(omap4_smp_ops), |
219 | .map_io = omap5_map_io, | 222 | .map_io = omap5_map_io, |
220 | .init_early = dra7xx_init_early, | 223 | .init_early = dra7xx_init_early, |
224 | .init_late = dra7xx_init_late, | ||
221 | .init_irq = omap_gic_of_init, | 225 | .init_irq = omap_gic_of_init, |
222 | .init_machine = omap_generic_init, | 226 | .init_machine = omap_generic_init, |
223 | .init_time = omap5_realtime_timer_init, | 227 | .init_time = omap5_realtime_timer_init, |