From: Heinrich Schuchardt Date: Wed, 6 Mar 2024 14:48:52 +0000 (+0100) Subject: cmd: sbi: formatting PolarFire Hart Software Services version X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=3a223ff63c0699e3ab977b41fa8e94ab07aa11a5;p=u-boot.git cmd: sbi: formatting PolarFire Hart Software Services version The 'PolarFire Hart Software Services' SBI implementation returns the version of the incorporated OpenSBI. Format the number accordingly. Signed-off-by: Heinrich Schuchardt Reviewed-by: Conor Dooley --- diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c index 87f7966f06..bd9d9c4765 100644 --- 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;