From d343624bd068d7f85169d136d883795959e3d065 Mon Sep 17 00:00:00 2001 From: Marcelo Povoa Date: Thu, 6 Feb 2014 15:17:40 -0800 Subject: [PATCH] aarch64: Fix 64-bit pointer related casts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG=None BRANCH=none TEST=Ran image in foundation model Signed-off-by: Marcelo Povoa Original-Change-Id: I80a92673c163b3df312ce632eb52e5bb1e7ab1db Original-Reviewed-on: https://chromium-review.googlesource.com/185273 Original-Reviewed-by: Aaron Durbin Original-Commit-Queue: Marcelo Póvoa Original-Tested-by: Marcelo Póvoa (cherry picked from commit e2f19689acb973aedee6e4b324ed27b64f2d47de) Signed-off-by: Marc Jones Change-Id: Icc3fc82779d18963f0fe8d5fb655f96027164a18 Reviewed-on: http://review.coreboot.org/7660 Reviewed-by: Patrick Georgi Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/lib/cbfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index 9ee2b468a8..9e9f4a7bf8 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -85,9 +85,9 @@ void * cbfs_load_stage(struct cbfs_media *media, const char *name) if (stage == NULL) return (void *) -1; - LOG("loading stage %s @ 0x%x (%d bytes), entry @ 0x%llx\n", + LOG("loading stage %s @ 0x%llx (%d bytes), entry @ 0x%llx\n", name, - (uint32_t) stage->load, stage->memlen, + stage->load, stage->memlen, stage->entry); final_size = cbfs_decompress(stage->compression,