[PATCH 02/17] dtoc: Use a namedtuple for _links

Simon Glass sjg at chromium.org
Tue Oct 27 02:01:33 CET 2020


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/dtoc/dtb_platdata.py | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list