Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91426
b: refs/heads/master
c: 5053037
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Paul Mackerras committed Feb 26, 2008
1 parent caecc01 commit f26d4fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: d9d1063d47cbfe45f8b369475a35c3cdd64fb69c
refs/heads/master: 50530378161fa8d7837243119ed9140ee65e55d4
7 changes: 1 addition & 6 deletions trunk/arch/powerpc/platforms/8xx/m8xx_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,12 @@ void __init mpc8xx_calibrate_decr(void)

/* Processor frequency is MHz.
*/
ppc_tb_freq = 50000000;
if (!get_freq("bus-frequency", &ppc_tb_freq)) {
printk(KERN_ERR "WARNING: Estimating decrementer frequency "
"(not found)\n");
}
ppc_tb_freq /= 16;
ppc_proc_freq = 50000000;
if (!get_freq("clock-frequency", &ppc_proc_freq))
printk(KERN_ERR "WARNING: Estimating processor frequency "
"(not found)\n");

ppc_tb_freq = ppc_proc_freq / 16;
printk("Decrementer Frequency = 0x%lx\n", ppc_tb_freq);

/* Perform some more timer/timebase initialization. This used
Expand Down

0 comments on commit f26d4fc

Please sign in to comment.