[PATCH 1/5] fdt: Use an Enum for the data type

Simon Glass sjg at chromium.org
Thu Dec 10 01:27:04 CET 2020


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 <sjg at 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!


More information about the U-Boot mailing list