soc: riscv-privileged: support SoCs without reset vector
RISCV_PRIVILEGED implicitly depends on INCLUDE_RESET_VECTOR. Remove that dependency by adding support for SoCs that do not need the `__reset` stub. Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
This commit is contained in:
parent
030a8b1830
commit
75f5d98002
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue