smp: Add T6021 CPU start offset

Signed-off-by: Mario Hros <git@reversity.org>
This commit is contained in:
Mario Hros 2023-02-06 23:20:04 +01:00 committed by Hector Martin
parent da03138eec
commit 049bc64e36

View file

@ -12,6 +12,7 @@
#define CPU_START_OFF_T8103 0x54000
#define CPU_START_OFF_T8112 0x34000
#define CPU_START_OFF_T6021 0x28000
#define CPU_REG_CORE GENMASK(7, 0)
#define CPU_REG_CLUSTER GENMASK(10, 8)
@ -161,6 +162,9 @@ void smp_start_secondaries(void)
case T8112:
cpu_start_off = CPU_START_OFF_T8112;
break;
case T6021:
cpu_start_off = CPU_START_OFF_T6021;
break;
default:
printf("CPU start offset is unknown for this SoC!\n");
return;