Browse Source

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>
pull/84396/head
Marcin Szymczyk 6 months ago committed by Benjamin Cabé
parent
commit
d7525cd500
  1. 4
      soc/common/riscv-privileged/vector.S

4
soc/common/riscv-privileged/vector.S

@ -27,6 +27,10 @@ SECTION_FUNC(vectors, __start) @@ -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…
Cancel
Save