mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
smp: Add T6021 CPU start offset
Signed-off-by: Mario Hros <git@reversity.org>
This commit is contained in:
parent
da03138eec
commit
049bc64e36
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue