Commit 3b29dadf authored by David Daney's avatar David Daney Committed by Ralf Baechle

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: default avatarDavid Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1669/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 54954a6d
...@@ -96,8 +96,6 @@ int octeon_is_pci_host(void) ...@@ -96,8 +96,6 @@ int octeon_is_pci_host(void)
*/ */
uint64_t octeon_get_clock_rate(void) uint64_t octeon_get_clock_rate(void)
{ {
if (octeon_is_simulation())
octeon_bootinfo->eclock_hz = 6000000;
return octeon_bootinfo->eclock_hz; return octeon_bootinfo->eclock_hz;
} }
EXPORT_SYMBOL(octeon_get_clock_rate); EXPORT_SYMBOL(octeon_get_clock_rate);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment