Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322523
b: refs/heads/master
c: 2ed1f58
h: refs/heads/master
i:
  322521: 2445812
  322519: 1a4ed44
v: v3
  • Loading branch information
Nicolas Ferre committed Aug 23, 2012
1 parent 1e204fc commit eb6ae20
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e402af6caa02f12ad213af2e22aa8a32970f99b0
refs/heads/master: 2ed1f58900280f79485bbc15f781687bd9584675
12 changes: 12 additions & 0 deletions trunk/arch/arm/mach-at91/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ EXPORT_SYMBOL_GPL(at91_pmc_base);

#define cpu_has_300M_plla() (cpu_is_at91sam9g10())

#define cpu_has_240M_plla() (cpu_is_at91sam9261() \
|| cpu_is_at91sam9263() \
|| cpu_is_at91sam9rl())

#define cpu_has_210M_plla() (cpu_is_at91sam9260())

#define cpu_has_pllb() (!(cpu_is_at91sam9rl() \
|| cpu_is_at91sam9g45() \
|| cpu_is_at91sam9x5() \
Expand Down Expand Up @@ -706,6 +712,12 @@ static int __init at91_pmc_init(unsigned long main_clock)
} else if (cpu_has_800M_plla()) {
if (plla.rate_hz > 800000000)
pll_overclock = true;
} else if (cpu_has_240M_plla()) {
if (plla.rate_hz > 240000000)
pll_overclock = true;
} else if (cpu_has_210M_plla()) {
if (plla.rate_hz > 210000000)
pll_overclock = true;
} else {
if (plla.rate_hz > 209000000)
pll_overclock = true;
Expand Down

0 comments on commit eb6ae20

Please sign in to comment.