[PATCH v2 30/33] dtoc: Tidy up the list of supported phandle properties

Simon Glass sjg at chromium.org
Sun Feb 7 01:16:53 CET 2021


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 at chromium.org>
---

Changes in v2:
- New patch

 tools/dtoc/dtb_platdata.py | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list