projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8da4c2
)
MLK-16944: imx8qm/qxp: Add leading zeros to SCFW commit hash
author
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 22 Nov 2017 11:51:15 +0000
(13:51 +0200)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 22 Nov 2017 13:43:18 +0000
(15:43 +0200)
This fixes SCFW commits with leading zeros like
0245582bf4a58289e25c59fb0befe84923ca6742
being displayed as "
245582b
".
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
arch/arm/cpu/armv8/imx8/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/imx8/cpu.c
b/arch/arm/cpu/armv8/imx8/cpu.c
index
ab1acea
..
213a8ee
100644
(file)
--- a/
arch/arm/cpu/armv8/imx8/cpu.c
+++ b/
arch/arm/cpu/armv8/imx8/cpu.c
@@
-697,7
+697,7
@@
static void acquire_buildinfo(void)
/* Set all to env */
set_buildinfo_to_env(sc_commit, mkimage_commit, (char *)&atf_commit);
- printf("\n BuildInfo: \n - SCFW %x, IMX-MKIMAGE %s, ATF %s\n - %s \n\n", sc_commit, mkimage_commit, (char *)&atf_commit, U_BOOT_VERSION);
+ printf("\n BuildInfo: \n - SCFW %
08
x, IMX-MKIMAGE %s, ATF %s\n - %s \n\n", sc_commit, mkimage_commit, (char *)&atf_commit, U_BOOT_VERSION);
}
#if defined(CONFIG_ARCH_MISC_INIT)