dtoc: Use a namedtuple for _links
authorSimon Glass <sjg@chromium.org>
Sat, 3 Oct 2020 15:25:19 +0000 (09:25 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:17 +0000 (14:42 -0600)
commit97136eb5354c28c475cd2fb72d5cc1029ce9e743
tree1b965ce1c20286b539c46d3a1924ea346b1f7988
parent26e408fe121016b8cfacddc03a23093bf867e7a2
dtoc: Use a namedtuple for _links

The use of strings to access a dict is a bit ugly. Use a namedtuple for
this instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py