projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de6d37
)
cmd: sbi: formatting PolarFire Hart Software Services version
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Wed, 6 Mar 2024 14:48:52 +0000
(15:48 +0100)
committer
Leo Yu-Chi Liang
<ycliang@andestech.com>
Tue, 12 Mar 2024 06:36:13 +0000
(14:36 +0800)
The 'PolarFire Hart Software Services' SBI implementation returns the
version of the incorporated OpenSBI. Format the number accordingly.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
cmd/riscv/sbi.c
patch
|
blob
|
history
diff --git
a/cmd/riscv/sbi.c
b/cmd/riscv/sbi.c
index 87f7966f06bb64a725922f5a1edeefe2bd5dabdc..bd9d9c4765da3275251c7360ec74a171b054e1b9 100644
(file)
--- a/
cmd/riscv/sbi.c
+++ b/
cmd/riscv/sbi.c
@@
-81,6
+81,7
@@
static int do_sbi(struct cmd_tbl *cmdtp, int flag, int argc,
break;
switch (impl_id) {
case 1: /* OpenSBI */
+ case 8: /* PolarFire Hart Software Services */
printf("%ld.%ld",
vers >> 16, vers & 0xffff);
break;