]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Tidy up the list of supported phandle properties
authorSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 13:01:18 +0000 (06:01 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:27 +0000 (19:23 +1300)
commit1a63db818db5daf063c9050536fc22ded80bd3ba
tree3e62c5911f2d122e1b4811463a054fe2f2620816
parent1dd0ca1341df3de72b7eff957ea9988eac9692b7
dtoc: Tidy up the list of supported phandle properties

For now dtoc only supports a hard-coded list of phandle properties, to
avoid any situation where it makes a mistake in its determination.

Make this into a constant dict, recording both the phandle property name
and the associated #cells property in the target node. This makes it
easier to find and modify.

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