[PATCH] cmd: sbi: Correctly display unknown implementation IDs
Dan Carpenter
dan.carpenter at linaro.org
Thu Mar 7 12:36:22 CET 2024
On Wed, Mar 06, 2024 at 03:44:02PM +0100, Heinrich Schuchardt wrote:
> For an unknown implementation ID an output like
>
> SBI 1.0Unknown implementation ID 16777216
> Extensions:
> sbi_set_timer
> ...
>
> was shown. The number 16777216 is not the implementation ID.
>
> * Show the correct number
> * Use a hexadecimal output format
> * Add a missing line feed
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Reviewed-by: Dan Carpenter <dan.carpenter at linaro.org>
Fixes: 89a86dcf6191 ("cmd: sbi: show SBI implementation version")
regards,
dan carpenter
More information about the U-Boot
mailing list