summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cbe607b)
raw | patch | inline | side by side (parent: cbe607b)
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Sun, 17 Jan 2021 21:27:13 +0000 (21:27 +0000) | ||
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | |
Thu, 25 Feb 2021 10:06:08 +0000 (18:06 +0800) |
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>
(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>
cmd/riscv/sbi.c | patch | blob | history |
diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c
index 2c905f1f8f8e72becc909f32908cbaae06bcb2a8..90c0811e14c60565ddd2be0cee449039f817271f 100644 (file)
--- a/cmd/riscv/sbi.c
+++ b/cmd/riscv/sbi.c
{ 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,