Commit 0c5cd772 authored by Janusz Dziedzic's avatar Janusz Dziedzic Committed by Sukru Senli

genexis_ex400: unlock two cores

For some reason, before we only use one
core. Temporary hack this and allow to
use two cores.

In the future check correct solution.
Signed-off-by: Janusz Dziedzic's avatarJanusz Dziedzic <>
parent d7f9bf36
diff --git a/arch/mips/ralink/mt7621.c b/arch/mips/ralink/mt7621.c
index 070eaaa7f..99e9ca83c 100644
--- a/arch/mips/ralink/mt7621.c
+++ b/arch/mips/ralink/mt7621.c
@@ -236,6 +236,11 @@ bool plat_cpu_core_present(int core)
if (!core)
return true;
+ /* TODO check what is wrong here, today allow also core 1 */
+ if (core == 1)
+ return true;
launch += core * 2; /* 2 VPEs per core */
if (!(launch->flags & LAUNCH_FREADY))
return false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment