Browse Source

Correct output from memreserve in fdtdump

This currently displays a hex value without the 0x prefix. Add the prefix
as dtc requires it.

Signed-off-by: Simon Glass <sjg@chromium.org>
main
Simon Glass 10 years ago committed by David Gibson
parent
commit
dfcfb7f169
  1. 2
      fdtdump.c

2
fdtdump.c

@ -88,7 +88,7 @@ static void dump_blob(void *blob, bool debug) @@ -88,7 +88,7 @@ static void dump_blob(void *blob, bool debug)
if (addr == 0 && size == 0)
break;

printf("/memreserve/ %llx %llx;\n",
printf("/memreserve/ %#llx %#llx;\n",
(unsigned long long)addr, (unsigned long long)size);
}


Loading…
Cancel
Save