soc: ambiq: workaround for issue #90777
This commit workarounds issue #90777 Signed-off-by: Hao Luo <hluo@ambiq.com>
This commit is contained in:
parent
2e7ec2bc29
commit
a54197b2f8
1 changed files with 2 additions and 2 deletions
|
@ -48,9 +48,9 @@ void soc_early_init_hook(void)
|
||||||
/*
|
/*
|
||||||
* Set default temperature for spotmgr to room temperature
|
* Set default temperature for spotmgr to room temperature
|
||||||
*/
|
*/
|
||||||
am_hal_pwrctrl_temp_thresh_t dummy;
|
am_hal_pwrctrl_temp_thresh_t dummy[32];
|
||||||
|
|
||||||
am_hal_pwrctrl_temp_update(25.0f, &dummy);
|
am_hal_pwrctrl_temp_update(25.0f, dummy);
|
||||||
|
|
||||||
/* Enable Icache*/
|
/* Enable Icache*/
|
||||||
sys_cache_instr_enable();
|
sys_cache_instr_enable();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue