| To: | linux-mips@linux-mips.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH 09/14] MIPS: Octeon: Remove bogus code from octeon_get_clock_rate() |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Thu, 7 Oct 2010 16:03:48 -0700 |
| Cc: | David Daney <ddaney@caviumnetworks.com> |
| In-reply-to: | <1286492633-26885-1-git-send-email-ddaney@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1286492633-26885-1-git-send-email-ddaney@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
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>
---
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 69197cb..fc151be 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);
--
1.7.2.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 01/14] MIPS: Octeon: Update register definitions for CN63XX chips, David Daney |
|---|---|
| Next by Date: | [PATCH 11/14] MIPS: Octeon: Use I/O clock rate for calculations., David Daney |
| Previous by Thread: | Re: [PATCH 01/14] MIPS: Octeon: Update register definitions for CN63XX chips, Ralf Baechle |
| Next by Thread: | Re: [PATCH 09/14] MIPS: Octeon: Remove bogus code from octeon_get_clock_rate(), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |