[Crosstoolchain-logs] [device-tree-compiler] 131/198: Correct output from memreserve in fdtdump

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:07:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.4.x
in repository device-tree-compiler.

commit dfcfb7f169c361e395e817f33381981c7fdf9539
Author: Simon Glass <sjg at chromium.org>
Date:   Wed Jun 18 01:00:22 2014 -0600

    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 at chromium.org>
---
 fdtdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fdtdump.c b/fdtdump.c
index 723770d..a29aa5e 100644
--- a/fdtdump.c
+++ b/fdtdump.c
@@ -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);
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list