mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
7a58a0f319
commit
20a317fb75
2 changed files with 34 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue