mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +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;
|
break;
|
||||||
switch (impl_id) {
|
switch (impl_id) {
|
||||||
case 1: /* OpenSBI */
|
case 1: /* OpenSBI */
|
||||||
|
case 8: /* PolarFire Hart Software Services */
|
||||||
printf("%ld.%ld",
|
printf("%ld.%ld",
|
||||||
vers >> 16, vers & 0xffff);
|
vers >> 16, vers & 0xffff);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue