[PATCH 0/2] dtoc: improve compatible string aliases support

Walter Lozano walter.lozano at collabora.com
Thu Jul 16 22:48:11 CEST 2020


This series adds additional improvements to dtoc, which are focused in
compatible string aliases.

First, enhance dtoc to use not only the first but all the compatible
strings in a dtb node in order to find a valid driver name.

Second, remove compatible string aliases from dtoc which were used to
generate mappings between struct names. This is not longer needed since
now a valid driver name is used.


Walter Lozano (2):
  dtoc: look for compatible string aliases in driver list
  dtoc: remove compatible string aliases support

 tools/dtoc/dtb_platdata.py       | 58 +++++++++++++-------------------
 tools/dtoc/dtoc_test_aliases.dts |  5 +++
 tools/dtoc/test_dtoc.py          | 39 +++------------------
 3 files changed, 32 insertions(+), 70 deletions(-)

-- 
2.20.1



More information about the U-Boot mailing list