diff options
author | Vineet Gupta <Vineet.Gupta1@synopsys.com> | 2015-09-11 19:32:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-11 22:34:01 -0400 |
commit | 3ebb0540c20d6670396ccee9ff6794c095fa9311 (patch) | |
tree | 3d33498c7c1412dd2570fc770a45943cdef126ba | |
parent | ded0e250b58a27af6034a8ab9226cbcdf7c0d847 (diff) |
ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs
Newer bitfiles needs the reduced clk even for SMP builds
Cc: <stable@vger.kernel.org> #4.2
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/arc/plat-axs10x/axs10x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/plat-axs10x/axs10x.c b/arch/arc/plat-axs10x/axs10x.c index ad9825d4026a..0a77b19e1df8 100644 --- a/arch/arc/plat-axs10x/axs10x.c +++ b/arch/arc/plat-axs10x/axs10x.c | |||
@@ -402,6 +402,8 @@ static void __init axs103_early_init(void) | |||
402 | unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F; | 402 | unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F; |
403 | if (num_cores > 2) | 403 | if (num_cores > 2) |
404 | arc_set_core_freq(50 * 1000000); | 404 | arc_set_core_freq(50 * 1000000); |
405 | else if (num_cores == 2) | ||
406 | arc_set_core_freq(75 * 1000000); | ||
405 | #endif | 407 | #endif |
406 | 408 | ||
407 | switch (arc_get_core_freq()/1000000) { | 409 | switch (arc_get_core_freq()/1000000) { |