Skip to contentSkip to conversation

ARC fix for 4.3

PATCH New Vineet Gupta 1 participant 2 messages Sep 11, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC fix for 4.3

Hi Linus,

Could you please add this to 4.3 for merge window. Since this is a single patch I'm not bothering with a pull request.

Thx,
-Vineet

Vineet Gupta (1):
ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs

 arch/arc/plat-axs10x/axs10x.c | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARCv2: [axs103_smp] Reduce clk for SMP FPGA configs

Newer bitfiles needs the reduced clk even for SMP builds

---
 arch/arc/plat-axs10x/axs10x.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arc/plat-axs10x/axs10x.c +2 -0
index ad9825d4026a..0a77b19e1df8 100644
@@ -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) {
Signature · 1 line
1.9.1