diff options
author | Simon Glass <sjg@chromium.org> | 2014-06-18 01:00:22 -0600 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2014-06-18 21:02:51 +1000 |
commit | dfcfb7f169c361e395e817f33381981c7fdf9539 (patch) | |
tree | e78a08f9841fab70064930b1af7d212721429074 | |
parent | 40f7f576c8e7df395ed25f0f3df61fac85f1adf9 (diff) | |
download | dtc-dfcfb7f169c361e395e817f33381981c7fdf9539.zip dtc-dfcfb7f169c361e395e817f33381981c7fdf9539.tar.gz dtc-dfcfb7f169c361e395e817f33381981c7fdf9539.tar.bz2 |
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>
-rw-r--r-- | fdtdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |