projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54954a6
)
MIPS: Octeon: Remove bogus code from octeon_get_clock_rate()
author
David Daney
<ddaney@caviumnetworks.com>
Thu, 7 Oct 2010 23:03:48 +0000
(16:03 -0700)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:39 +0000
(19:08 +0100)
We can run with any simulator clock rate. Get rid of the code
overriding it to 6MHz.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1669/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/cavium-octeon/setup.c
b/arch/mips/cavium-octeon/setup.c
index 69197cb6c7ea106349a23ad5b81f615a8c70c614..fc151bebed74b7aee5bca45edd32f5da72a9ea5a 100644
(file)
--- a/
arch/mips/cavium-octeon/setup.c
+++ b/
arch/mips/cavium-octeon/setup.c
@@
-96,8
+96,6
@@
int octeon_is_pci_host(void)
*/
uint64_t octeon_get_clock_rate(void)
{
- if (octeon_is_simulation())
- octeon_bootinfo->eclock_hz = 6000000;
return octeon_bootinfo->eclock_hz;
}
EXPORT_SYMBOL(octeon_get_clock_rate);