[PATCH 0/5] patman: Tidy up some hangovers from Python 2

Simon Glass sjg at chromium.org
Mon Nov 9 04:36:16 CET 2020


Various functions were used to deal with the differences between Python
2 and 3. These can be removed now that Python 2 is not supported.

Also tidy up the code style in dtb_platdata.py


Simon Glass (5):
  fdt: Use an Enum for the data type
  patman: Drop unicode helper functions
  patman: Drop tools.ToByte()
  patman: Drop tools.ToChar() and ToChars()
  dtoc: Tidy up Python style in dtb_platdata

 tools/binman/elf.py        |  6 +--
 tools/binman/etype/fmap.py |  2 +-
 tools/binman/fdt_test.py   | 14 +++---
 tools/binman/fmap_util.py  |  3 +-
 tools/dtoc/dtb_platdata.py | 96 ++++++++++++++++++++++----------------
 tools/dtoc/fdt.py          | 58 +++++++++++++++--------
 tools/dtoc/test_dtoc.py    | 10 ++--
 tools/dtoc/test_fdt.py     | 34 +++++++-------
 tools/patman/func_test.py  | 16 +++----
 tools/patman/gitutil.py    |  3 +-
 tools/patman/series.py     |  4 +-
 tools/patman/settings.py   |  5 +-
 tools/patman/tools.py      | 85 ++-------------------------------
 13 files changed, 140 insertions(+), 196 deletions(-)

-- 
2.29.2.222.g5d2a92d10f8-goog



More information about the U-Boot mailing list