diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2022-02-08 01:08:04 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-02-09 22:30:13 +0300 |
commit | 21353311ffe9bf28e168ab7d69ec670f0093cf96 (patch) | |
tree | b0ab914737256323a4e71f0394c7ca2903db26a1 /tools/mxsimage.c | |
parent | 058fb9f5ffc422f987c33adb01f8fa6e4434eff8 (diff) | |
download | u-boot-21353311ffe9bf28e168ab7d69ec670f0093cf96.tar.xz |
binman: Fix subentry expansion for FIT entry type
Binman tries to expand some entries into parts that make it up, e.g.
'u-boot' into a 'u-boot-expanded' section that contains 'u-boot-nodtb'
and 'u-boot-dtb'. Entries with child entries must call ExpandEntries()
on them to build a correct image, as it's possible that unexpanded child
entries have no data of their own. The FIT entry type doesn't currently
do this, which means putting a "u-boot" entry inside it doesn't work as
expected.
Implement ExpandEntries() for FIT and add a copy of a simple FIT image
test that checks subentry expansion in FIT entries.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/mxsimage.c')
0 files changed, 0 insertions, 0 deletions