diff options
Diffstat (limited to 'arch/arm/mach-omap2/prcm.c')
-rw-r--r-- | arch/arm/mach-omap2/prcm.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c index abafd2298ece..e8e121a41d6d 100644 --- a/arch/arm/mach-omap2/prcm.c +++ b/arch/arm/mach-omap2/prcm.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <plat/control.h> | 29 | #include <plat/control.h> |
30 | 30 | ||
31 | #include "clock.h" | 31 | #include "clock.h" |
32 | #include "clock2xxx.h" | ||
32 | #include "cm.h" | 33 | #include "cm.h" |
33 | #include "prm.h" | 34 | #include "prm.h" |
34 | #include "prm-regbits-24xx.h" | 35 | #include "prm-regbits-24xx.h" |
@@ -133,11 +134,12 @@ EXPORT_SYMBOL(omap_prcm_get_reset_sources); | |||
133 | void omap_prcm_arch_reset(char mode) | 134 | void omap_prcm_arch_reset(char mode) |
134 | { | 135 | { |
135 | s16 prcm_offs; | 136 | s16 prcm_offs; |
136 | omap2_clk_prepare_for_reboot(); | ||
137 | 137 | ||
138 | if (cpu_is_omap24xx()) | 138 | if (cpu_is_omap24xx()) { |
139 | omap2xxx_clk_prepare_for_reboot(); | ||
140 | |||
139 | prcm_offs = WKUP_MOD; | 141 | prcm_offs = WKUP_MOD; |
140 | else if (cpu_is_omap34xx()) { | 142 | } else if (cpu_is_omap34xx()) { |
141 | u32 l; | 143 | u32 l; |
142 | 144 | ||
143 | prcm_offs = OMAP3430_GR_MOD; | 145 | prcm_offs = OMAP3430_GR_MOD; |