projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ifxmips]
[openwrt/svn-archive/archive.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 41e6415e8eed5fc3763f97f025661a9cf038212e..01d3249772ce9313364879bb0492b766d89889a3 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);