diff options
author | Simon Glass | 2021-01-06 21:35:16 -0700 |
---|---|---|
committer | Simon Glass | 2021-01-30 14:25:41 -0700 |
commit | 939d1062d05fb4990ca7898613bcc753574f7c56 (patch) | |
tree | 7e7ac0cb10123e23424ec8c1acc8577806516f88 /tools/gdb | |
parent | 870a9ead569ce8ee1f9fc03d178b56e012465582 (diff) |
binman: Support reading an image with entry args
Normally when an entry is created, any entry arguments it has are required
to be provided, so it can actually generate its contents correctly.
However when an existing image is read, Entry objects are created for each
of the entries in the image. This happens as part of the process of
reading the image into binman.
In this case we don't need the entry arguments, since we do not intend to
regenerate the entries, or at least not unless requested. So there is no
sense in reporting an error for missing entry arguments.
Add a new property for the Image to handle this case. Update the error
reporting to be conditional on this property.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/gdb')
0 files changed, 0 insertions, 0 deletions