summaryrefslogtreecommitdiff
path: root/arch/x86/lib/fsp/cmd_fsp.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-01-15 02:51:32 (GMT)
committerTom Rini <trini@konsulko.com>2016-01-15 02:51:32 (GMT)
commit4edde96111aefac63d6aaca6ba87a90d149e973e (patch)
tree83996996fc15554644c114e4f4d534d78cef15fd /arch/x86/lib/fsp/cmd_fsp.c
parenta737028e80603f49a4757adec10b5842d0689dbb (diff)
parent5c2ed61ce235fd835a3f594bc983dfc20959568c (diff)
downloadu-boot-fsl-qoriq-4edde96111aefac63d6aaca6ba87a90d149e973e.tar.xz
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/lib/fsp/cmd_fsp.c')
-rw-r--r--arch/x86/lib/fsp/cmd_fsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/fsp/cmd_fsp.c b/arch/x86/lib/fsp/cmd_fsp.c
index 4959edf..2554663 100644
--- a/arch/x86/lib/fsp/cmd_fsp.c
+++ b/arch/x86/lib/fsp/cmd_fsp.c
@@ -69,7 +69,7 @@ static int do_hob(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
printf("---|----------|-----------|------|-");
printf("------------------------------------------\n");
while (!end_of_hob(hdr)) {
- printf("%-2d | %08x | ", i, (unsigned int)hdr);
+ printf("%02x | %08x | ", i, (unsigned int)hdr);
type = hdr->type;
if (type == HOB_TYPE_UNUSED)
desc = "*Unused*";
@@ -79,7 +79,7 @@ static int do_hob(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
desc = hob_type[type];
else
desc = "*Invalid*";
- printf("%-9s | %-4d | ", desc, hdr->len);
+ printf("%-9s | %04x | ", desc, hdr->len);
if (type == HOB_TYPE_MEM_ALLOC || type == HOB_TYPE_RES_DESC ||
type == HOB_TYPE_GUID_EXT) {