diff options
author | David Daney <ddaney@caviumnetworks.com> | 2012-08-21 14:45:05 -0400 |
---|---|---|
committer | David Daney <david.daney@cavium.com> | 2012-08-31 14:48:48 -0400 |
commit | 70a26a219cc0eedae4529c27fe1abfb2a02e373b (patch) | |
tree | 30b51a8344ba6bb97196fcb5c864a2fa2471b1cf /arch/mips/cavium-octeon/setup.c | |
parent | 2432cbe4f29fbb8d349e481695ac6e88b884bacb (diff) |
MIPS: Octeon: Add octeon_io_clk_delay() function.
Also cleanup and fix octeon_init_cvmcount()
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mips/cavium-octeon/setup.c')
-rw-r--r-- | arch/mips/cavium-octeon/setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index 919b0fb7bb1..04dd8ff0e0d 100644 --- a/arch/mips/cavium-octeon/setup.c +++ b/arch/mips/cavium-octeon/setup.c | |||
@@ -548,6 +548,8 @@ void __init prom_init(void) | |||
548 | } | 548 | } |
549 | #endif | 549 | #endif |
550 | 550 | ||
551 | octeon_setup_delays(); | ||
552 | |||
551 | /* | 553 | /* |
552 | * BIST should always be enabled when doing a soft reset. L2 | 554 | * BIST should always be enabled when doing a soft reset. L2 |
553 | * Cache locking for instance is not cleared unless BIST is | 555 | * Cache locking for instance is not cleared unless BIST is |
@@ -611,7 +613,6 @@ void __init prom_init(void) | |||
611 | mips_hpt_frequency = octeon_get_clock_rate(); | 613 | mips_hpt_frequency = octeon_get_clock_rate(); |
612 | 614 | ||
613 | octeon_init_cvmcount(); | 615 | octeon_init_cvmcount(); |
614 | octeon_setup_delays(); | ||
615 | 616 | ||
616 | _machine_restart = octeon_restart; | 617 | _machine_restart = octeon_restart; |
617 | _machine_halt = octeon_halt; | 618 | _machine_halt = octeon_halt; |