diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-17 21:27:13 +0000 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2021-02-25 18:06:08 +0800 |
commit | 921d5477b971693892025a3b76feb3628a078b50 (patch) | |
tree | aec051e34ef47e3ca7b49da864123b20a3328eaf /cmd | |
parent | cbe607b920bc0827d8fe379ed4f5ae4e2058513e (diff) | |
download | u-boot-921d5477b971693892025a3b76feb3628a078b50.tar.gz |
cmd/riscv/sbi: support System Reset Extension
Let the sbi command detect the 'System Reset Extension'
(EID #0x53525354 "SRST").
Cf. https://github.com/riscv/riscv-sbi-doc
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Pragnesh Patel <pragnesh.patel@openfive.com>
Reviewed-by: Leo Liang <ycliang@andestech.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/riscv/sbi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c index 2c905f1f8f8..90c0811e14c 100644 --- a/cmd/riscv/sbi.c +++ b/cmd/riscv/sbi.c @@ -43,6 +43,7 @@ static struct sbi_ext extensions[] = { { 0x00735049, "IPI Extension" }, { 0x52464E43, "RFENCE Extension" }, { 0x0048534D, "Hart State Management Extension" }, + { 0x53525354, "System Reset Extension" }, }; static int do_sbi(struct cmd_tbl *cmdtp, int flag, int argc, |