[Crosstoolchain-logs] [device-tree-compiler] 94/357: Fix reserve map output for asm format.
    Hector Oron 
    zumbi at moszumanska.debian.org
       
    Thu Dec  8 17:05:54 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit ca25e54ddd4efbc4c9165bc0ba45ab898693da4e
Author: Jerry Van Baren <gvb.uboot at gmail.com>
Date:   Tue Apr 17 18:14:41 2007 -0400
    Fix reserve map output for asm format.
    
    Add extra reserve map slots output for asm format (previously done for dtb
      output).
    
    Signed-off-by: Gerald Van Baren <vanbaren at cideas.com>
---
 flattree.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/flattree.c b/flattree.c
index 151d16e..8159848 100644
--- a/flattree.c
+++ b/flattree.c
@@ -490,6 +490,9 @@ void dt_to_asm(FILE *f, struct boot_info *bi, int version, int boot_cpuid_phys)
 			(unsigned int)(re->re.size >> 32),
 			(unsigned int)(re->re.size & 0xffffffff));
 	}
+	for (i = 0; i < reservenum; i++) {
+		fprintf(f, "\t.long\t0, 0\n\t.long\t0, 0\n");
+	}
 
 	fprintf(f, "\t.long\t0, 0\n\t.long\t0, 0\n");
 
-- 
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