diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-10-08 01:03:48 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-10-29 20:08:39 +0200 |
commit | 3b29dadff98887ecdc5db458c2961777016b7b86 (patch) | |
tree | e9098cfce91940993ab06e55cb33ceac3ef1ba0c /arch | |
parent | MIPS: Octeon: Scale Octeon2 clocks in octeon_init_cvmcount() (diff) | |
download | linux-3b29dadff98887ecdc5db458c2961777016b7b86.tar.xz linux-3b29dadff98887ecdc5db458c2961777016b7b86.zip |
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')
-rw-r--r-- | arch/mips/cavium-octeon/setup.c | 2 |
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); |