diff options
author | Simon Glass <sjg@chromium.org> | 2023-07-18 07:23:57 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-07-20 14:10:58 -0600 |
commit | 20a317fb75f2cbd03cd8d2f8e65bab5faf6abbb4 (patch) | |
tree | f4b5f3d90b8c8bb69e10f2a1f9ff095577d28dd8 /tools/binman/entry.py | |
parent | 7a58a0f319cab0a70d3cffabc2a5b4b322a5b5cf (diff) |
binman: Add more detail on how ObtainContents() works
This area of binman can be a bit confusing. Add some more comments to
help.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/entry.py')
-rw-r--r-- | tools/binman/entry.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/binman/entry.py b/tools/binman/entry.py index 328b5bc568a..f20f32213a9 100644 --- a/tools/binman/entry.py +++ b/tools/binman/entry.py @@ -474,6 +474,9 @@ class Entry(object): def ObtainContents(self, skip_entry=None, fake_size=0): """Figure out the contents of an entry. + For missing blobs (where allow-missing is enabled), the contents are set + to b'' and self.missing is set to True. + Args: skip_entry (Entry): Entry to skip when obtaining section contents fake_size (int): Size of fake file to create if needed |