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:
parent
c74445d694
commit
c3d7b1c978
2 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,7 @@ void z_arm_platform_init(void)
|
||||||
* sys_cache*-functions can enable them, if requested by the
|
* sys_cache*-functions can enable them, if requested by the
|
||||||
* configuration.
|
* configuration.
|
||||||
*/
|
*/
|
||||||
|
SCB_InvalidateDCache();
|
||||||
SCB_DisableDCache();
|
SCB_DisableDCache();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -119,6 +119,7 @@ void z_arm_platform_init(void)
|
||||||
* sys_cache*-functions can enable them, if requested by the
|
* sys_cache*-functions can enable them, if requested by the
|
||||||
* configuration.
|
* configuration.
|
||||||
*/
|
*/
|
||||||
|
SCB_InvalidateDCache();
|
||||||
SCB_DisableDCache();
|
SCB_DisableDCache();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue