soc: riscv_privileged: support soc_reset_hook
Add call to `soc_reset_hook` if `CONFIG_SOC_RESET_HOOK` is enabled. Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
This commit is contained in:
parent
8f48758836
commit
d7525cd500
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ SECTION_FUNC(vectors, __start)
|
|||
|
||||
.option norvc;
|
||||
|
||||
#if defined(CONFIG_SOC_RESET_HOOK)
|
||||
call soc_reset_hook
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_RISCV_VECTORED_MODE)
|
||||
#if defined(CONFIG_RISCV_HAS_CLIC)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue