mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
cmd: smccc: Print results in hex instead of dec
Printing return value in HEX instead of DEC. Return values are 64 bit values which impossible to decode in DEC. For example getting CHIP ID in dec is quite long. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/9a0278a7da729cb69b7a4d46c5e7eb8c3217c635.1676450712.git.michal.simek@amd.com
This commit is contained in:
parent
89f0f14fe2
commit
e2aa078c1c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ static int do_call(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||
else
|
||||
arm_smccc_hvc(fid, a1, a2, a3, a4, a5, a6, a7, &res);
|
||||
|
||||
printf("Res: %ld %ld %ld %ld\n", res.a0, res.a1, res.a2, res.a3);
|
||||
printf("Res: 0x%lx 0x%lx 0x%lx 0x%lx\n", res.a0, res.a1, res.a2, res.a3);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue