projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ifxmips]
[openwrt.git]
/
target
/
linux
/
ifxmips
/
files-2.6.33
/
arch
/
mips
/
ifxmips
/
common
/
setup.c
diff --git
a/target/linux/ifxmips/files-2.6.33/arch/mips/ifxmips/common/setup.c
b/target/linux/ifxmips/files-2.6.33/arch/mips/ifxmips/common/setup.c
index
41e6415
..
01d3249
100644
(file)
--- a/
target/linux/ifxmips/files-2.6.33/arch/mips/ifxmips/common/setup.c
+++ b/
target/linux/ifxmips/files-2.6.33/arch/mips/ifxmips/common/setup.c
@@
-78,8
+78,11
@@
ifxmips_get_cpu_hz(void)
return CLOCK_333M;
case 4:
return DDR_HZ;
+ case 8:
+ return DDR_HZ << 1;
+ default:
+ return DDR_HZ >> 1;
}
- return DDR_HZ >> 1;
}
EXPORT_SYMBOL(ifxmips_get_cpu_hz);