summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2015-09-11 16:32:22 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-22 14:49:15 -0700
commitf8ecfcb2611766e3721124d49bf62335ada1cc93 (patch)
tree9bbd0fb29bc9e47d12034117f8a48a099da5a387 /arch
parent3e119ee539a56be78f560284d9cc2efed1a29f13 (diff)
ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs
commit 3ebb0540c20d6670396ccee9ff6794c095fa9311 upstream. Newer bitfiles needs the reduced clk even for SMP builds Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/plat-axs10x/axs10x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/plat-axs10x/axs10x.c b/arch/arc/plat-axs10x/axs10x.c
index e7769c3ab5f2..ac79491ee2c0 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)
unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
if (num_cores > 2)
arc_set_core_freq(50 * 1000000);
+ else if (num_cores == 2)
+ arc_set_core_freq(75 * 1000000);
#endif
switch (arc_get_core_freq()/1000000) {