summaryrefslogtreecommitdiff
path: root/arch/mips/cavium-octeon/setup.c
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-10-08 03:03:48 +0400
committerRalf Baechle <ralf@linux-mips.org>2010-10-29 22:08:39 +0400
commit3b29dadff98887ecdc5db458c2961777016b7b86 (patch)
treee9098cfce91940993ab06e55cb33ceac3ef1ba0c /arch/mips/cavium-octeon/setup.c
parent54954a6d6ba1c2f44375d2992d50f1db56a8857d (diff)
downloadlinux-3b29dadff98887ecdc5db458c2961777016b7b86.tar.xz
MIPS: Octeon: Remove bogus code from octeon_get_clock_rate()
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>
Diffstat (limited to 'arch/mips/cavium-octeon/setup.c')
-rw-r--r--arch/mips/cavium-octeon/setup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index 69197cb6c7ea..fc151bebed74 100644
--- 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);