mbox series

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

Message ID 20201109033621.1859598-1-sjg@chromium.org
Headers show
Series patman: Tidy up some hangovers from Python 2 | expand

Message

Simon Glass Nov. 9, 2020, 3:36 a.m. UTC
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(-)