diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-04-26 17:58:56 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-04-26 17:58:56 -0500 |
commit | debb7354d1ea4f694154818df5e5b523f5c1cc1d (patch) | |
tree | 3756d8c53914f5c728a7b4da2886243fd22c9bd7 /common | |
parent | 76544f80e476a7a0cc3a0bbce853354f2c6a61e2 (diff) | |
download | u-boot-imx-debb7354d1ea4f694154818df5e5b523f5c1cc1d.zip u-boot-imx-debb7354d1ea4f694154818df5e5b523f5c1cc1d.tar.gz u-boot-imx-debb7354d1ea4f694154818df5e5b523f5c1cc1d.tar.bz2 |
Initial support for MPC8641 HPCN board.
Diffstat (limited to 'common')
-rw-r--r-- | common/ft_build.c | 10 |
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; |