summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2024-01-17 17:46:52 +0100
committerLeo Yu-Chi Liang <[email protected]>2024-01-31 16:52:30 +0800
commit6b0520c939e068aee9f367be951133c249447082 (patch)
tree743328551cb51f930d48303eb7cd97b1a2acdbb1 /cmd
parent282159ff242b7dcce1163f64fb6ed564c060b1a5 (diff)
cmd: sbi: add support for Debug Trigger Extension
Detect and show if the SBI implements the Debug Trigger Extension. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/riscv/sbi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c
index 940d9bc1681..9daf0e247ad 100644
--- a/cmd/riscv/sbi.c
+++ b/cmd/riscv/sbi.c
@@ -53,6 +53,7 @@ static struct sbi_ext extensions[] = {
{ SBI_EXT_CPPC, "Collaborative Processor Performance Control Extension" },
{ SBI_EXT_NACL, "Nested Acceleration Extension" },
{ SBI_EXT_STA, "Steal-time Accounting Extension" },
+ { SBI_EXT_DBTR, "Debug Trigger Extension" },
};
static int do_sbi(struct cmd_tbl *cmdtp, int flag, int argc,