summaryrefslogtreecommitdiff
path: root/src/lib/cbfs.c
diff options
context:
space:
mode:
authorMarcelo Povoa <marcelogp@chromium.org>2014-02-06 15:17:40 -0800
committerMarc Jones <marc.jones@se-eng.com>2014-12-09 18:40:09 +0100
commitd343624bd068d7f85169d136d883795959e3d065 (patch)
tree458595e029f2a1605673220798bef52485935b2e /src/lib/cbfs.c
parentdcc1c86c7fc89454d86153a590230819ccbc9bfe (diff)
aarch64: Fix 64-bit pointer related casts
BUG=None BRANCH=none TEST=Ran image in foundation model Signed-off-by: Marcelo Povoa <marcelogp@chromium.org> Original-Change-Id: I80a92673c163b3df312ce632eb52e5bb1e7ab1db Original-Reviewed-on: https://chromium-review.googlesource.com/185273 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Marcelo Póvoa <marcelogp@chromium.org> Original-Tested-by: Marcelo Póvoa <marcelogp@chromium.org> (cherry picked from commit e2f19689acb973aedee6e4b324ed27b64f2d47de) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Icc3fc82779d18963f0fe8d5fb655f96027164a18 Reviewed-on: http://review.coreboot.org/7660 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib/cbfs.c')
-rw-r--r--src/lib/cbfs.c4
1 files 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,