mirror of
https://github.com/dgibson/dtc.git
synced 2026-01-22 01:30:34 -05:00
dtc: fix asm for version 17
The version 17 flat device tree format added struct size. When writing version 17 assembly output the field must be emitted. Signed-off-by: Milton Miller <miltonm@bga.com>
This commit is contained in:
parent
8cd4196ee3
commit
81fda8a6f1
1 changed files with 4 additions and 0 deletions
|
|
@ -477,6 +477,10 @@ void dt_to_asm(FILE *f, struct boot_info *bi, int version, int boot_cpuid_phys)
|
|||
fprintf(f, "\t.long\t_%s_strings_end - _%s_strings_start\t/* size_dt_strings */\n",
|
||||
symprefix, symprefix);
|
||||
|
||||
if (vi->flags & FTF_STRUCTSIZE)
|
||||
fprintf(f, "\t.long\t_%s_struct_end - _%s_struct_start\t/* size_dt_struct */\n",
|
||||
symprefix, symprefix);
|
||||
|
||||
/*
|
||||
* Reserve map entries.
|
||||
* Align the reserve map to a doubleword boundary.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue