scripts: extract_dts_includes.py: Fix names generation
This patch fixes issues with the IRQ definitions when using the interrupt-names property in the DT entry. Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
30beef9419
commit
066edc7bac
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ def extract_interrupts(node_address, yaml, y_key, names, defs, def_label):
|
||||||
l_fqn = '_'.join(l_base + l_cell_prefix + l_idx + l_cell_name)
|
l_fqn = '_'.join(l_base + l_cell_prefix + l_idx + l_cell_name)
|
||||||
prop_def[l_fqn] = props.pop(0)
|
prop_def[l_fqn] = props.pop(0)
|
||||||
if len(name):
|
if len(name):
|
||||||
prop_alias['_'.join(l_base + name + l_cell_prefix)] = l_fqn
|
prop_alias['_'.join(l_base + name + l_cell_name)] = l_fqn
|
||||||
|
|
||||||
index += 1
|
index += 1
|
||||||
insert_defs(node_address, defs, prop_def, prop_alias)
|
insert_defs(node_address, defs, prop_def, prop_alias)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue