commit | e195aa3039c5c4eeb60c415a7a0f3006d5cdcd3b | [log] [tgz] |
---|---|---|
author | David Daney <ddaney@caviumnetworks.com> | Thu Oct 07 16:03:49 2010 -0700 |
committer | Ralf Baechle <ralf@linux-mips.org> | Fri Oct 29 19:08:40 2010 +0100 |
tree | 62817e61ddac8e1212f04cbdbbcf542849fdd8e6 | |
parent | 3b29dadff98887ecdc5db458c2961777016b7b86 [diff] |
MIPS: Octeon: Add octeon_get_io_clock_rate() for cn63xx Starting with cn63xx Octeon I/O blocks are clocked at a different rate than the CPU. Add a new function octeon_get_io_clock_rate() that yields the I/O clock rate. Also rearrange octeon_get_clock_rate() to get the value from the saved sysinfo structure. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Patchwork: http://patchwork.linux-mips.org/patch/1671/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>