zephyr/scripts/dts
Ulf Magnusson 0e922bff75 scripts/dts: Simplify write_header()
That the 'aliases' key isn't a regular property makes things a bit
confusing. Write the aliases separately, which should be a bit clearer.
That also makes it clear that the order doesn't matter.

The 'aliases' key always exists in defs[node], so use [] instead of
.get(). Also write "'aliases'" instead of "prop" when the value is
known.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-02-07 21:42:36 -06:00
..
extract scripts/dts: Simplify get_parent_address() 2019-02-07 21:42:36 -06:00
devicetree.py scripts/dts: Remove redundant and confusing dict.get() calls 2019-02-07 10:39:37 +01:00
extract_dts_includes.py scripts/dts: Simplify write_header() 2019-02-07 21:42:36 -06:00