diff options
author | Simon Glass <sjg@chromium.org> | 2018-09-14 04:57:18 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-09-28 11:09:01 -0600 |
commit | 6c234bfbf7a9c5b33c3bea92e037c45d37e94f35 (patch) | |
tree | 165ca39ca97d8b10e71e8d6f8c436909a6b08d63 /tools/binman/entry.py | |
parent | 746aee3f2f8c0c7534ad7ac7d438ccec35c6c99c (diff) | |
download | u-boot-6c234bfbf7a9c5b33c3bea92e037c45d37e94f35.tar.gz |
binman: Add an entry method for getting the default filename
Various entry implementations provide a way to obtain the default filename
for an entry. But at present there is no base-class implementation for
this function. Add one so that the API is defined.
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 e671a2ea09..ec3b22e9b3 100644 --- a/tools/binman/entry.py +++ b/tools/binman/entry.py @@ -160,6 +160,9 @@ class Entry(object): self.align_end = fdt_util.GetInt(self._node, 'align-end') self.offset_unset = fdt_util.GetBool(self._node, 'offset-unset') + def GetDefaultFilename(self): + return None + def AddMissingProperties(self): """Add new properties to the device tree as needed for this entry""" for prop in ['offset', 'size', 'image-pos']: |