mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
cmd/sbi: format RustSBI version number
The SBI command can print out the version number of the SBI implementation. Choose the correct output format for RustSBI. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Rick Chen <rick@andestech.com>
This commit is contained in:
parent
3724ddf157
commit
9487764e7e
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ static int do_sbi(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||
vers >> 16, vers & 0xffff);
|
||||
break;
|
||||
case 3: /* KVM */
|
||||
case 4: /* RustSBI */
|
||||
printf("%ld.%ld.%ld",
|
||||
vers >> 16,
|
||||
(vers >> 8) & 0xff,
|
||||
|
|
Loading…
Reference in a new issue