From: Heinrich Schuchardt Date: Wed, 6 Mar 2024 14:48:52 +0000 (+0100) Subject: cmd: sbi: formatting PolarFire Hart Software Services version X-Git-Tag: v2024.04-rc5~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a223ff63c0699e3ab977b41fa8e94ab07aa11a5;p=pandora-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 87f7966f06b..bd9d9c4765d 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;