mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
binman: Add missing comments toentry
At present GetOffsets() lacks a function comment. Add one. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -355,6 +355,21 @@ class Entry(object):
|
|||||||
return self.data
|
return self.data
|
||||||
|
|
||||||
def GetOffsets(self):
|
def GetOffsets(self):
|
||||||
|
"""Get the offsets for siblings
|
||||||
|
|
||||||
|
Some entry types can contain information about the position or size of
|
||||||
|
other entries. An example of this is the Intel Flash Descriptor, which
|
||||||
|
knows where the Intel Management Engine section should go.
|
||||||
|
|
||||||
|
If this entry knows about the position of other entries, it can specify
|
||||||
|
this by returning values here
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
Dict:
|
||||||
|
key: Entry type
|
||||||
|
value: List containing position and size of the given entry
|
||||||
|
type.
|
||||||
|
"""
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
def SetOffsetSize(self, pos, size):
|
def SetOffsetSize(self, pos, size):
|
||||||
|
Reference in New Issue
Block a user