Skip to content

Commit 049bc64

Browse files
Mario Hrosmarcan
authored andcommitted
smp: Add T6021 CPU start offset
Signed-off-by: Mario Hros <[email protected]>
1 parent da03138 commit 049bc64

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/smp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#define CPU_START_OFF_T8103 0x54000
1414
#define CPU_START_OFF_T8112 0x34000
15+
#define CPU_START_OFF_T6021 0x28000
1516

1617
#define CPU_REG_CORE GENMASK(7, 0)
1718
#define CPU_REG_CLUSTER GENMASK(10, 8)
@@ -161,6 +162,9 @@ void smp_start_secondaries(void)
161162
case T8112:
162163
cpu_start_off = CPU_START_OFF_T8112;
163164
break;
165+
case T6021:
166+
cpu_start_off = CPU_START_OFF_T6021;
167+
break;
164168
default:
165169
printf("CPU start offset is unknown for this SoC!\n");
166170
return;

0 commit comments

Comments
 (0)