summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Graute <oliver.graute@kococonnector.com>2020-11-06 09:09:31 +0100
committerStefano Babic <sbabic@denx.de>2020-12-06 15:31:36 +0100
commitf4433e7f27d36b3b81e23c0e8139fe28a6e97951 (patch)
tree9215a8fe489237489ef88f3956aa05048318bda3
parent61eb1fe56849c1418f35c5a9579047ab113e914f (diff)
downloadu-boot-f4433e7f27d36b3b81e23c0e8139fe28a6e97951.tar.gz
imx: ahab: Fix compiler warnings in printf
arch/arm/mach-imx/imx8/ahab.c:110:63: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘u64 {aka long long unsigned int}’ [-Wformat=] Fix those by using %llx Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com> Cc: Stefano Babic <sbabic@denx.de> Cc: uboot-imx <uboot-imx@nxp.com>
-rw-r--r--arch/arm/mach-imx/imx8/ahab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx8/ahab.c b/arch/arm/mach-imx/imx8/ahab.c
index 5dbe1d56e0..bbdced5513 100644
--- a/arch/arm/mach-imx/imx8/ahab.c
+++ b/arch/arm/mach-imx/imx8/ahab.c
@@ -106,7 +106,7 @@ int authenticate_os_container(ulong addr)
/* Find the memreg and set permission for seco pt */
err = sc_rm_find_memreg(-1, &mr, s, e);
if (err) {
- printf("Error: can't find memreg for image load address 0x%x, error %d\n", img->dst, err);
+ printf("Error: can't find memreg for image load address 0x%llx, error %d\n", img->dst, err);
ret = -ENOMEM;
goto exit;
}