diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-04-19 11:34:22 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-04-19 11:34:22 -0500 |
commit | f7374f60eb086979006f0b029f21824bd13d20ca (patch) | |
tree | e70ec59c60c25e32672562f1cb3c7648d5bd2fe6 /flattree.c | |
parent | 7a9f663ac7ef1218ffe3aaab66f1bf66d54eaf0a (diff) | |
download | dtc-f7374f60eb086979006f0b029f21824bd13d20ca.tar.gz |
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.
Diffstat (limited to 'flattree.c')
-rw-r--r-- | flattree.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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) { |