mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 14:38:58 +00:00
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 <heinrich.schuchardt@canonical.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
This commit is contained in:
parent
4de6d37fa2
commit
3a223ff63c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue