Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67183
b: refs/heads/master
c: 7888fbf
h: refs/heads/master
i:
  67181: 7e4bf3f
  67179: e47fc96
  67175: ebee1da
  67167: 0dea77d
v: v3
  • Loading branch information
Jon Loeliger authored and Paul Mackerras committed Aug 17, 2007
1 parent 4703185 commit df26a4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 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: 0b9369f4934eb9933a1fbe991c5e8a4f9725da37
refs/heads/master: 7888fbf7bbf8840e83078eae3a537fd1cde46e6e
13 changes: 2 additions & 11 deletions trunk/arch/powerpc/platforms/52xx/lite5200.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,22 +109,13 @@ static void lite5200_resume_finish(void __iomem *mbar)

static void __init lite5200_setup_arch(void)
{
#ifdef CONFIG_PCI
struct device_node *np;
#endif

if (ppc_md.progress)
ppc_md.progress("lite5200_setup_arch()", 0);

np = of_find_node_by_type(NULL, "cpu");
if (np) {
const unsigned int *fp =
of_get_property(np, "clock-frequency", NULL);
if (fp != 0)
loops_per_jiffy = *fp / HZ;
else
loops_per_jiffy = 50000000 / HZ;
of_node_put(np);
}

/* CPU & Port mux setup */
mpc52xx_setup_cpu(); /* Generic */
lite5200_setup_cpu(); /* Platorm specific */
Expand Down

0 comments on commit df26a4f

Please sign in to comment.