aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/setup.c
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-10-07 19:03:48 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-10-29 14:08:39 -0400
commit3b29dadff98887ecdc5db458c2961777016b7b86 (patch)
treee9098cfce91940993ab06e55cb33ceac3ef1ba0c /arch/mips/cavium-octeon/setup.c
parent54954a6d6ba1c2f44375d2992d50f1db56a8857d (diff)
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)
96 */ 96 */
97uint64_t octeon_get_clock_rate(void) 97uint64_t octeon_get_clock_rate(void)
98{ 98{
99 if (octeon_is_simulation())
100 octeon_bootinfo->eclock_hz = 6000000;
101 return octeon_bootinfo->eclock_hz; 99 return octeon_bootinfo->eclock_hz;
102} 100}
103EXPORT_SYMBOL(octeon_get_clock_rate); 101EXPORT_SYMBOL(octeon_get_clock_rate);