diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-02 14:36:26 +0100 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-12-14 15:16:41 +0800 |
commit | c353f2b845bbbb7b39ecb3f0aafac889cc25a328 (patch) | |
tree | 9828a8bf2e4bb05c6af46f8ed6c1f2af72850afb /dts | |
parent | fb33eaa3a26cdc37826390b6db223509230ae8e2 (diff) | |
download | u-boot-c353f2b845bbbb7b39ecb3f0aafac889cc25a328.tar.gz |
riscv: reset after crash
If an exception occurs on ARM or x86, we call panic() which will try to
reset the board. Do the same on RISC-V.
To avoid -Werror=format-zero-length move a '\n' to the string passed to
panic. We don't need a message here as depending on CONFIG_PANIC_HANG we
will either see
### ERROR ### Please RESET the board ###
or
resetting ...
as next message.
Reviewed-by: Rick Chen <rick@andestech.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions