fdt: Use an Enum for the data type
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2020 03:36:17 +0000 (20:36 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 14:58:17 +0000 (07:58 -0700)
commit5ea9dccf02eb26d146dbc1fdb3106135612820ae
tree0ab49a5e6f160873d22cfdedc1feef38be990990
parentddaa94978583d07ec515e7226e397221d8cc44c8
fdt: Use an Enum for the data type

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@chromium.org>
tools/binman/fdt_test.py
tools/dtoc/dtb_platdata.py
tools/dtoc/fdt.py
tools/dtoc/test_dtoc.py
tools/dtoc/test_fdt.py