Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163151
b: refs/heads/master
c: 11b6638
h: refs/heads/master
i:
  163149: 96d36be
  163147: ff1fab5
  163143: d4c6b85
  163135: b87cc04
v: v3
  • Loading branch information
Sanjeev Premi authored and paul committed Sep 3, 2009
1 parent 10ccfcc commit aeeab6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6dda2d4b1306c19e39496e9bb305424d1d547013
refs/heads/master: 11b66383aa722a3321d2aeec09808c5b140ad396
17 changes: 9 additions & 8 deletions trunk/arch/arm/mach-omap2/clock34xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/limits.h>
#include <linux/bitops.h>

#include <mach/cpu.h>
#include <mach/clock.h>
#include <mach/sram.h>
#include <asm/div64.h>
Expand Down Expand Up @@ -1067,17 +1068,17 @@ static int __init omap2_clk_arch_init(void)
return -EINVAL;

/* REVISIT: not yet ready for 343x */
#if 0
if (clk_set_rate(&virt_prcm_set, mpurate))
printk(KERN_ERR "Could not find matching MPU rate\n");
#endif
if (clk_set_rate(&dpll1_ck, mpurate))
printk(KERN_ERR "*** Unable to set MPU rate\n");

recalculate_root_clocks();

printk(KERN_INFO "Switched to new clocking rate (Crystal/DPLL3/MPU): "
printk(KERN_INFO "Switched to new clocking rate (Crystal/Core/MPU): "
"%ld.%01ld/%ld/%ld MHz\n",
(osc_sys_ck.rate / 1000000), (osc_sys_ck.rate / 100000) % 10,
(core_ck.rate / 1000000), (dpll1_fck.rate / 1000000)) ;
(osc_sys_ck.rate / 1000000), ((osc_sys_ck.rate / 100000) % 10),
(core_ck.rate / 1000000), (arm_fck.rate / 1000000)) ;

calibrate_delay();

return 0;
}
Expand Down Expand Up @@ -1136,7 +1137,7 @@ int __init omap2_clk_init(void)

recalculate_root_clocks();

printk(KERN_INFO "Clocking rate (Crystal/DPLL/ARM core): "
printk(KERN_INFO "Clocking rate (Crystal/Core/MPU): "
"%ld.%01ld/%ld/%ld MHz\n",
(osc_sys_ck.rate / 1000000), (osc_sys_ck.rate / 100000) % 10,
(core_ck.rate / 1000000), (arm_fck.rate / 1000000));
Expand Down

0 comments on commit aeeab6b

Please sign in to comment.