ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs
commit 3ebb0540c2 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3e119ee539
commit
f8ecfcb261
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user