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>
This commit is contained in:
committed by
David Gibson
parent
40f7f576c8
commit
dfcfb7f169
@@ -88,7 +88,7 @@ static void dump_blob(void *blob, bool debug)
|
|||||||
if (addr == 0 && size == 0)
|
if (addr == 0 && size == 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
printf("/memreserve/ %llx %llx;\n",
|
printf("/memreserve/ %#llx %#llx;\n",
|
||||||
(unsigned long long)addr, (unsigned long long)size);
|
(unsigned long long)addr, (unsigned long long)size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user