[Crosstoolchain-logs] [device-tree-compiler] 120/357: dtc: format memory reserve as pairs on two lines

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:57 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 445d55d2cc82097dea0feb564cc479c40291fffe
Author: Milton Miller <miltonm at bga.com>
Date:   Sat Jul 7 01:18:54 2007 -0500

    dtc: format memory reserve as pairs on two lines
    
    When writing the memory reserve table in assembly output,
    emit both halves of each 64 bit number on a single .long
    statement.  This results in two lines per memory reserve
    slot instead of four, each line contains one field (start
    or size).
    
    Signed-off-by: Milton Miller <miltonm at bga.com>
---
 flattree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flattree.c b/flattree.c
index e7b10c7..5b15e9c 100644
--- a/flattree.c
+++ b/flattree.c
@@ -514,10 +514,10 @@ void dt_to_asm(FILE *f, struct boot_info *bi, int version, int boot_cpuid_phys)
 			fprintf(f, "\t.globl\t%s\n", re->label);
 			fprintf(f, "%s:\n", re->label);
 		}
-		fprintf(f, "\t.long\t0x%08x\n\t.long\t0x%08x\n",
+		fprintf(f, "\t.long\t0x%08x, 0x%08x\n",
 			(unsigned int)(re->re.address >> 32),
 			(unsigned int)(re->re.address & 0xffffffff));
-		fprintf(f, "\t.long\t0x%08x\n\t.long\t0x%08x\n",
+		fprintf(f, "\t.long\t0x%08x, 0x%08x\n",
 			(unsigned int)(re->re.size >> 32),
 			(unsigned int)(re->re.size & 0xffffffff));
 	}

-- 
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