aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock2xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/clock2xxx.c')
-rw-r--r--arch/arm/mach-omap2/clock2xxx.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-omap2/clock2xxx.c b/arch/arm/mach-omap2/clock2xxx.c
index 5feee16fee0e..5f7faeb4c19b 100644
--- a/arch/arm/mach-omap2/clock2xxx.c
+++ b/arch/arm/mach-omap2/clock2xxx.c
@@ -28,27 +28,11 @@
28#include "cm.h" 28#include "cm.h"
29#include "cm-regbits-24xx.h" 29#include "cm-regbits-24xx.h"
30 30
31struct clk *vclk, *sclk, *dclk;
32
33/* 31/*
34 * Omap24xx specific clock functions 32 * Omap24xx specific clock functions
35 */ 33 */
36 34
37/* 35/*
38 * Set clocks for bypass mode for reboot to work.
39 */
40void omap2xxx_clk_prepare_for_reboot(void)
41{
42 u32 rate;
43
44 if (vclk == NULL || sclk == NULL)
45 return;
46
47 rate = clk_get_rate(sclk);
48 clk_set_rate(vclk, rate);
49}
50
51/*
52 * Switch the MPU rate if specified on cmdline. We cannot do this 36 * Switch the MPU rate if specified on cmdline. We cannot do this
53 * early until cmdline is parsed. XXX This should be removed from the 37 * early until cmdline is parsed. XXX This should be removed from the
54 * clock code and handled by the OPP layer code in the near future. 38 * clock code and handled by the OPP layer code in the near future.