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>
This commit is contained in:
parent
4f5370a138
commit
ca25e54ddd
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue