mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
cmd: sbi: add support for Debug Trigger Extension
Detect and show if the SBI implements the Debug Trigger Extension. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
parent
282159ff24
commit
6b0520c939
2 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ enum sbi_ext_id {
|
||||||
SBI_EXT_CPPC = 0x43505043,
|
SBI_EXT_CPPC = 0x43505043,
|
||||||
SBI_EXT_NACL = 0x4E41434C,
|
SBI_EXT_NACL = 0x4E41434C,
|
||||||
SBI_EXT_STA = 0x535441,
|
SBI_EXT_STA = 0x535441,
|
||||||
|
SBI_EXT_DBTR = 0x44425452,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum sbi_ext_base_fid {
|
enum sbi_ext_base_fid {
|
||||||
|
|
|
@ -53,6 +53,7 @@ static struct sbi_ext extensions[] = {
|
||||||
{ SBI_EXT_CPPC, "Collaborative Processor Performance Control Extension" },
|
{ SBI_EXT_CPPC, "Collaborative Processor Performance Control Extension" },
|
||||||
{ SBI_EXT_NACL, "Nested Acceleration Extension" },
|
{ SBI_EXT_NACL, "Nested Acceleration Extension" },
|
||||||
{ SBI_EXT_STA, "Steal-time Accounting 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,
|
static int do_sbi(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
|
|
Loading…
Reference in a new issue