gen_defines: trivial rename
Generalize a function name as prep for extendings its scope. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
b23e1727b6
commit
190197ec97
1 changed files with 4 additions and 4 deletions
|
|
@ -144,7 +144,7 @@ def main():
|
|||
write_vanilla_props(node)
|
||||
|
||||
write_chosen(edt)
|
||||
write_global_compat_info(edt)
|
||||
write_global_macros(edt)
|
||||
|
||||
write_device_extern_header(args.device_header_out, edt)
|
||||
|
||||
|
|
@ -854,9 +854,9 @@ def write_chosen(edt):
|
|||
out_define(macro, value, width=max_len)
|
||||
|
||||
|
||||
def write_global_compat_info(edt):
|
||||
# Tree-wide information related to each compatible, such as number
|
||||
# of instances with status "okay", is printed here.
|
||||
def write_global_macros(edt):
|
||||
# Global or tree-wide information, such as number of instances
|
||||
# with status "okay" for each compatible, is printed here.
|
||||
|
||||
n_okay_macros = {}
|
||||
for_each_macros = {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue