From: Heinrich Schuchardt Date: Sun, 17 Jan 2021 21:27:13 +0000 (+0000) Subject: cmd/riscv/sbi: support System Reset Extension X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=921d5477b971693892025a3b76feb3628a078b50;p=u-boot.git 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 Reviewed-by: Pragnesh Patel Reviewed-by: Leo Liang Reviewed-by: Bin Meng --- diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c index 2c905f1f8f..90c0811e14 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,