Browse Source

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@cideas.com>
main
Jerry Van Baren 18 years ago committed by Jon Loeliger
parent
commit
ca25e54ddd
  1. 3
      flattree.c

3
flattree.c

@ -490,6 +490,9 @@ void dt_to_asm(FILE *f, struct boot_info *bi, int version, int boot_cpuid_phys) @@ -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");


Loading…
Cancel
Save