soc: atmel: sam: Add invalidate d-cache at z_arm_platform_init

Before that fix, the SOC was unable to boot properly.
Starting turned directly into z_arm_usage_fault().
Fixes zephyrproject-rtos#73485

Signed-off-by: Sven Ginka <sven.ginka@gmail.com>
This commit is contained in:
Sven Ginka 2024-06-01 18:57:52 +02:00 committed by Anas Nashif
commit c3d7b1c978
2 changed files with 2 additions and 0 deletions

View file

@ -122,6 +122,7 @@ void z_arm_platform_init(void)
* sys_cache*-functions can enable them, if requested by the
* configuration.
*/
SCB_InvalidateDCache();
SCB_DisableDCache();
/*

View file

@ -119,6 +119,7 @@ void z_arm_platform_init(void)
* sys_cache*-functions can enable them, if requested by the
* configuration.
*/
SCB_InvalidateDCache();
SCB_DisableDCache();
/*