Skip to content
Snippets Groups Projects
Commit 6bcb8ade authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

x86: Use correct printf() format string for uintptr_t


Use the inttypes header file to provide this.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent c6da9ae8
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
*/
#include <common.h>
#include <inttypes.h>
#include <libfdt.h>
#include <malloc.h>
#include <asm/u-boot-x86.h>
......@@ -94,7 +95,7 @@ int do_elf_reloc_fixups(void)
*offset_ptr_ram += gd->reloc_off;
} else {
debug(" %p: rom reloc %x, ram %p, value %x,"
" limit %lx\n", re_src,
" limit %" PRIXPTR "\n", re_src,
re_src->r_offset, offset_ptr_ram,
*offset_ptr_ram,
CONFIG_SYS_TEXT_BASE + size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment