dts/extract_dts_includes.py: Replace cell_prefix to cell_string

Only the IRQ prasing was using cell_prefix and cell_string does the same
thing so lets just use that everywhere.

Change-Id: I2ef9b1e2c1baef54b71d811c835b29a9ca8fe81b
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-03-09 11:11:16 -06:00
commit efc68b4faf
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ properties:
description: number of interrupts controlled by controller
generation: define
cell_prefix: IRQ
cell_string: IRQ
"#cells":
- irq

View file

@ -30,7 +30,7 @@ properties:
description: number of interrupts controlled by controller
generation: define
cell_prefix: IRQ
cell_string: IRQ
"#cells":
- irq

View file

@ -210,7 +210,7 @@ def extract_interrupts(node_address, yaml, y_key, names, defs, def_label):
cell_parent = irq_parent
cell_yaml = yaml[get_compat(cell_parent)]
l_cell_prefix = [yaml[get_compat(irq_parent)].get('cell_prefix', []).upper()]
l_cell_prefix = [yaml[get_compat(irq_parent)].get('cell_string', []).upper()]
for i in range(cell_parent['props']['#interrupt-cells']):
l_cell_name = [cell_yaml['#cells'][i].upper()]