Skip to content

Commit

Permalink
ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs
Browse files Browse the repository at this point in the history
Newer bitfiles needs the reduced clk even for SMP builds

Cc: <[email protected]>  #4.2
Signed-off-by: Vineet Gupta <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Vineet Gupta authored and torvalds committed Sep 12, 2015
1 parent ded0e25 commit 3ebb054
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arc/plat-axs10x/axs10x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3ebb054

Please sign in to comment.