diff options
author | Simon Glass <sjg@chromium.org> | 2018-07-17 22:25:38 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-08-02 01:30:48 +0300 |
commit | 11e36ccea174043229319263f9d0b5b7f7cca654 (patch) | |
tree | ae97c27416a1f44cf45da09364480818784e4eea /tools/binman/entry.py | |
parent | 5a5da7ce153b19bc3106e0bdb625b2e211852914 (diff) | |
download | u-boot-11e36ccea174043229319263f9d0b5b7f7cca654.tar.xz |
binman: Add support for flashrom FMAP
Add an entry which can hold an FMAP region as used by flashrom, an
open-source flashing tool used on Linux x86 machines. This provides a
simplified non-hierarchical view of the entries in the image and has a
signature at the start to allow flashrom to find it in the image.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/entry.py')
-rw-r--r-- | tools/binman/entry.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/binman/entry.py b/tools/binman/entry.py index dc09b81677..8b910feff6 100644 --- a/tools/binman/entry.py +++ b/tools/binman/entry.py @@ -361,6 +361,15 @@ class Entry(object): """ self.WriteMapLine(fd, indent, self.name, self.offset, self.size) + def GetEntries(self): + """Return a list of entries contained by this entry + + Returns: + List of entries, or None if none. A normal entry has no entries + within it so will return None + """ + return None + def GetArg(self, name, datatype=str): """Get the value of an entry argument or device-tree-node property |