Skip to content

Commit 3ebb054

Browse files
Vineet Guptatorvalds
authored andcommitted
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>
1 parent ded0e25 commit 3ebb054

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arc/plat-axs10x/axs10x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ static void __init axs103_early_init(void)
402402
unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F;
403403
if (num_cores > 2)
404404
arc_set_core_freq(50 * 1000000);
405+
else if (num_cores == 2)
406+
arc_set_core_freq(75 * 1000000);
405407
#endif
406408

407409
switch (arc_get_core_freq()/1000000) {

0 commit comments

Comments
 (0)