tricore/csrm: bringup cpucs in tricore

Add CPUCS bring-up support for TriCore secure core (CSRM) module.
Enables core6 initialization for secure core operations.

Signed-off-by: makejian <makejian@xiaomi.com>
This commit is contained in:
makejian 2025-02-18 21:54:59 +08:00 committed by Alan C. Assis
parent e4ea0a59ea
commit 35537cb1a7
2 changed files with 6 additions and 0 deletions

View file

@ -56,6 +56,7 @@
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU3_HOOK(trapWatch) tricore_svcall(&trapWatch)
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU4_HOOK(trapWatch) tricore_svcall(&trapWatch)
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU5_HOOK(trapWatch) tricore_svcall(&trapWatch)
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU6_HOOK(trapWatch) tricore_svcall(&trapWatch)
#endif /* IFX_CFG_EXTEND_TRAP_HOOKS */

View file

@ -93,3 +93,8 @@ void core5_main(void)
{
core_main();
}
void core6_main(void)
{
core_main();
}