summaryrefslogtreecommitdiff
path: root/tools/image-host.c
diff options
context:
space:
mode:
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-02-09 22:02:35 +0300
committerSimon Glass <sjg@chromium.org>2022-02-22 20:05:44 +0300
commitee813c86f99006bf37826d195e7212cf98803de6 (patch)
tree3c564e2bba9b9d8092dd847b0362dfd298cb6397 /tools/image-host.c
parent17a0dc6abfdbf392f6a27074f2633608038c4221 (diff)
downloadu-boot-ee813c86f99006bf37826d195e7212cf98803de6.tar.xz
binman: Skip processing "hash" subnodes of FIT subsections
Binman's FIT entry type can have image subentries with "hash" subnodes intended to be processed by mkimage, but not binman. However, the Entry class and any subclass that reuses its implementation tries to process these unconditionally. This can lead to an error when boards specify hash algorithms that binman doesn't support, but mkimage supports. Let entries skip processing these "hash" subnodes based on an instance variable, and set this instance variable for FIT subsections. Also re-enable processing of calculated and missing properties of FIT entries which was disabled to mitigate this issue. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/image-host.c')
0 files changed, 0 insertions, 0 deletions