diff --git a/soc/common/riscv-privileged/vector.S b/soc/common/riscv-privileged/vector.S index bb11345787..4822fa5533 100644 --- a/soc/common/riscv-privileged/vector.S +++ b/soc/common/riscv-privileged/vector.S @@ -97,5 +97,10 @@ SECTION_FUNC(vectors, __start) #endif /* CONFIG_RISCV_VECTORED_MODE */ +#if CONFIG_INCLUDE_RESET_VECTOR /* Jump to __reset */ tail __reset +#else + /* Jump to __initialize */ + tail __initialize +#endif