Skip to content
Commit 1bf1d6a2 authored by Bobby Noelte's avatar Bobby Noelte Committed by Kumar Gala
Browse files

scripts: extract_dts_includes: fix cell name readout from yaml



Default for a unavailable cell name was an empty list, whereas a
given name is a string. Leads to a runtime error if the name is given.
Make the default an empty string.

Names for cells are taken from the yaml binding. The key used is
"#cells" which clashes if there are different cell based properties
for a device. Readout names from the more specific "#xxx-cells" if
given and fall back to "#cells" if not given.

Signed-off-by: default avatarBobby Noelte <b0661n0e17e@gmail.com>
parent 5501e0d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment