[Crosstoolchain-logs] [device-tree-compiler] 39/357: Don't generate the mem-reserve entry for the blob itself, even for ASM output. It was inconsistent with the binary output form, and kernel folks decided to have the early kernel perform the reservation itself.

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:46 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 f7374f60eb086979006f0b029f21824bd13d20ca
Author: Jon Loeliger <jdl at freescale.com>
Date:   Wed Apr 19 11:34:22 2006 -0500

    Don't generate the mem-reserve entry for the blob itself,
    even for ASM output.  It was inconsistent with the binary
    output form, and kernel folks decided to have the early
    kernel perform the reservation itself.
---
 flattree.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/flattree.c b/flattree.c
index 73dd409..19d886e 100644
--- a/flattree.c
+++ b/flattree.c
@@ -365,8 +365,6 @@ void dt_to_blob(FILE *f, struct boot_info *bi, int version)
 
 	/*
 	 * Reserve map entries.
-	 * Since the blob is relocatable, the address of the map is not
-	 * determinable here, so no entry is made for the DT itself.
 	 * Each entry is an (address, size) pair of u64 values.
 	 * Always supply a zero-sized temination entry.
 	 */
@@ -446,15 +444,10 @@ void dt_to_asm(FILE *f, struct boot_info *bi, int version)
 	 * Reserve map entries.
 	 * Align the reserve map to a doubleword boundary.
 	 * Each entry is an (address, size) pair of u64 values.
-	 * Since the ASM file variant can relocate and compute the address
-	 * and size of the the device tree itself, and an entry for it.
 	 * Always supply a zero-sized temination entry.
 	 */
 	asm_emit_align(f, 8);
 	emit_label(f, symprefix, "reserve_map");
-	fprintf(f, "\t.quad\t0, _%s_blob_start\n", symprefix);
-	fprintf(f, "\t.quad\t0, _%s_blob_end - _%s_blob_start\n",
-		symprefix, symprefix);
 
 	fprintf(f, "/* Memory reserve map from source file */\n");
 	for (re = bi->reservelist; re; re = re->next) {

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