diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-30 02:56:12 (GMT) |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-08 19:33:08 (GMT) |
commit | 187e3e06e8d7050a77c3208f54edff1e1bfae31d (patch) | |
tree | 39cb9a6ebcd9e04e76d270f5ef7e6c7f508d5d4e /arch/arm/mach-omap2/clock2xxx.c | |
parent | 2f334a3896714b47e24cc4cd08eed11d1a7f0d8e (diff) | |
download | linux-187e3e06e8d7050a77c3208f54edff1e1bfae31d.tar.xz |
ARM: OMAP2+: board files: use SoC-specific system restart functions
Modify the board files to use the SoC-specific system restart
functions. At this point it's possible to remove omap_prcm_restart()
from mach-omap2/prcm.c.
While removing the prototypes for the now-unused restart functions, clean
up a few more obsolete prototypes in mach-omap2/clock.h.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock2xxx.c')
-rw-r--r-- | arch/arm/mach-omap2/clock2xxx.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-omap2/clock2xxx.c b/arch/arm/mach-omap2/clock2xxx.c index 8e0294e..5f7faeb 100644 --- a/arch/arm/mach-omap2/clock2xxx.c +++ b/arch/arm/mach-omap2/clock2xxx.c @@ -28,27 +28,11 @@ #include "cm.h" #include "cm-regbits-24xx.h" -struct clk *vclk, *sclk; - /* * Omap24xx specific clock functions */ /* - * Set clocks for bypass mode for reboot to work. - */ -void omap2xxx_clk_prepare_for_reboot(void) -{ - u32 rate; - - if (vclk == NULL || sclk == NULL) - return; - - rate = clk_get_rate(sclk); - clk_set_rate(vclk, rate); -} - -/* * Switch the MPU rate if specified on cmdline. We cannot do this * early until cmdline is parsed. XXX This should be removed from the * clock code and handled by the OPP layer code in the near future. |