Commit d7525cd5 authored by Marcin Szymczyk's avatar Marcin Szymczyk Committed by Benjamin Cabé
Browse files

soc: riscv_privileged: support `soc_reset_hook`

Add call to `soc_reset_hook` if `CONFIG_SOC_RESET_HOOK` is enabled.

Signed-off-by: default avatarMarcin Szymczyk <marcin.szymczyk@nordicsemi.no>
parent 8f487588
Loading
Loading
Loading
Loading
+4 −0
Changes for soc/common/riscv-privileged/vector.S: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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)