binman: Read the fit entries only once
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:19:06 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
commitb55c11c96ec8789cd843f7c79c90b05ae9e0fadf
treeb1a20b669cf8276318e09b7fb8aa8e6cbb428a66
parent72e423c6b6664ff77b46c732f8d7e2e173b3b5fe
binman: Read the fit entries only once

At present the entries are read twice, once by the entry_Section class
and once by the FIT implementation. This is harmless but can be confusing
when debugging. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/etype/fit.py