summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-05-09 08:33:11 -0500
committerJon Loeliger <jdl@freescale.com>2006-05-09 08:33:11 -0500
commita67255363ae4c8a7c67a83e05de335cdb54b2045 (patch)
tree4857056ed42e56140c6f6f60197a1fad4f2ea6fd /common
parent4af099bda90fe602aff96b2fd914fca89f320c5c (diff)
parent18b6c8cd8af6cc7f35180cedc4adb3236cc1a1b8 (diff)
downloadu-boot-imx-a67255363ae4c8a7c67a83e05de335cdb54b2045.zip
u-boot-imx-a67255363ae4c8a7c67a83e05de335cdb54b2045.tar.gz
u-boot-imx-a67255363ae4c8a7c67a83e05de335cdb54b2045.tar.bz2
Merge branch 'mpc86xx'
Diffstat (limited to 'common')
-rw-r--r--common/ft_build.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/ft_build.c b/common/ft_build.c
index 9e9c906..782046d 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -299,16 +299,16 @@ static void print_data(const void *data, int len)
switch (len) {
case 1: /* byte */
- printf(" = <0x%02x>", (*(u8 *) data) & 0xff);
+ printf(" = <%02x>", (*(u8 *) data) & 0xff);
break;
case 2: /* half-word */
- printf(" = <0x%04x>", be16_to_cpu(*(u16 *) data) & 0xffff);
+ printf(" = <%04x>", be16_to_cpu(*(u16 *) data) & 0xffff);
break;
case 4: /* word */
- printf(" = <0x%08x>", be32_to_cpu(*(u32 *) data) & 0xffffffffU);
+ printf(" = <%x>", be32_to_cpu(*(u32 *) data) & 0xffffffffU);
break;
case 8: /* double-word */
- printf(" = <0x%16llx>", be64_to_cpu(*(uint64_t *) data));
+ printf(" = <%qx>", be64_to_cpu(*(uint64_t *) data));
break;
default: /* anything else... hexdump */
printf(" = [");
@@ -350,7 +350,7 @@ void ft_dump_blob(const void *bphp)
if (addr == 0 && size == 0)
break;
- printf("/memreserve/ 0x%llx 0x%llx;\n", addr, size);
+ printf("/memreserve/ %qx %qx;\n", addr, size);
}
p = p_struct;