Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156405
b: refs/heads/master
c: e5b3837
h: refs/heads/master
i:
  156403: 0374982
v: v3
  • Loading branch information
Florian Fainelli authored and Ralf Baechle committed Aug 3, 2009
1 parent 2c438ea commit f6d5a34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 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: 8e84c1480d2e7d98d487b567100717b9cc9dcfd7
refs/heads/master: e5b3837a52c7fe5c7086590bed902f0fac5f9ec0
13 changes: 0 additions & 13 deletions trunk/arch/mips/ar7/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,19 +264,6 @@ static void __init tnetd7300_init_clocks(void)
iounmap(bootcr);
}

static int tnetd7200_get_clock(int base, struct tnetd7200_clock *clock,
u32 *bootcr, u32 bus_clock)
{
int divisor = ((readl(&clock->prediv) & 0x1f) + 1) *
((readl(&clock->postdiv) & 0x1f) + 1);

if (*bootcr & BOOT_PLL_BYPASS)
return base / divisor;

return base * ((readl(&clock->mul) & 0xf) + 1) / divisor;
}


static void tnetd7200_set_clock(int base, struct tnetd7200_clock *clock,
int prediv, int postdiv, int postdiv2, int mul, u32 frequency)
{
Expand Down

0 comments on commit f6d5a34

Please sign in to comment.