platform: spacemit: Add HSM driver

Add code to bring up all 8 cores during OpenSBI initialization so
that the Linux kernel can detect and use all cores properly.

Co-authored-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Xianbin Zhu <xianbin.zhu@linux.spacemit.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250925-smt-k1-8-cores-v3-2-0885a8a70f8e@linux.spacemit.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Xianbin Zhu
2025-09-25 17:48:56 +08:00
committed by Anup Patel
parent 1f84ec2ac2
commit fb70fe8b98
4 changed files with 148 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ config PLATFORM_MIPS_P8700
config PLATFORM_SPACEMIT_K1
bool "Spacemit K1 support"
select FDT_HSM_SPACEMIT
default n
source "$(OPENSBI_SRC_DIR)/platform/generic/andes/Kconfig"