summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2017-11-22 13:51:15 +0200
committerLeonard Crestez <leonard.crestez@nxp.com>2017-11-22 15:43:18 +0200
commit5ad6d4cc562bac2a4ba9c05c39f039a939cbdf24 (patch)
tree79d72a5e52bc518267b8cbbdbb3fc590786542c8
parentf8da4c218786d6e796651f3ef79cb6f3829ea6b8 (diff)
MLK-16944: imx8qm/qxp: Add leading zeros to SCFW commit hash
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>
-rw-r--r--arch/arm/cpu/armv8/imx8/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/imx8/cpu.c b/arch/arm/cpu/armv8/imx8/cpu.c
index ab1aceac2a..213a8ee806 100644
--- 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 %08x, 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)