Use an Enum instead of the current ad-hoc constants, so that there is a
data type associated with each 'type' value.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 tools/binman/fdt_test.py   | 14 +++++-----
 tools/dtoc/dtb_platdata.py | 26 +++++++++---------
 tools/dtoc/fdt.py          | 54 +++++++++++++++++++++++++-------------
 tools/dtoc/test_dtoc.py    | 10 +++----
 tools/dtoc/test_fdt.py     | 32 +++++++++++-----------
 5 files changed, 77 insertions(+), 59 deletions(-)

Applied to u-boot-dm, thanks!

Reply via email to