projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
kernel: backport fib_trie improvements/fixes from 4.0-rc
[oweals/openwrt.git]
/
target
/
linux
/
au1000
/
patches
/
005-fix-cpu-clk.patch
1
--- a/arch/mips/alchemy/common/clock.c
2
+++ b/arch/mips/alchemy/common/clock.c
3
@@ -128,6 +128,8 @@
4
t = 396000000;
5
else {
6
t = alchemy_rdsys(AU1000_SYS_CPUPLL) & 0x7f;
7
+ if (alchemy_get_cputype() != ALCHEMY_CPU_AU1300)
8
+ t &= 0x3f;
9
t *= parent_rate;
10
}
11