armcm_boot: Support ARM cortex-m33 chips

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2024-10-25 15:21:23 -04:00
parent c5c79c936f
commit 4ef21a1e9b
3 changed files with 8 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ canboot_reset(uint64_t req_signature)
return;
irq_disable();
*req_sig = req_signature;
#if __CORTEX_M >= 7
#if __CORTEX_M == 7
SCB_CleanDCache_by_Addr((void*)req_sig, sizeof(*req_sig));
#endif
NVIC_SystemReset();