binman: Drop unnecessary field in output_fdt_info
authorSimon Glass <sjg@chromium.org>
Thu, 18 Mar 2021 07:25:01 +0000 (20:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
commitcb8bebbde09c762cc09d2d1a387dc6b3c4434853
tree3d07cb7e51dc946e4fb9bf692683007628a577c9
parent7697170e780bb13e7ace7035d8995190f79fc2f3
binman: Drop unnecessary field in output_fdt_info

At present we store an entry as the third field in output_fdt_info[].
This is only used to get the type of the entry. Of course multiple entries
may have this same type. Also the entry type is the key to this dict, so
we can use that instead.

Drop the field and update GetUpdateNodes() to suit. Improve the comment for
output_fdt_info a little while here.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/state.py