commit | 91a0372b5c04fe8c23ba7d84f547f433d5496068 | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <henrik@brixandersen.dk> | Wed Sep 08 22:20:10 2021 +0200 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Tue Sep 14 09:48:03 2021 -0400 |
tree | bd02b9a5e83d56a2bfdac42fe6ac643addd39c7f | |
parent | 9de47d2b0b4f1c927997fb4e577a6d1dcbe95eba [diff] |
soc: riscv: priv: call __reset during boot Call __reset instead of directly calling __initialize from the common RISC-V privileged SoC vectors __start. This allows injection of SoC specific reset code just after setting up the machine trap vector. RISC-V privilege SoCs without the need for custom reset code can set CONFIG_INCLUDE_RESET_VECTOR=y to include a __reset stub which simply calls __initialize. Fixes: #38396 Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>