diff options
author | Simon Glass <sjg@chromium.org> | 2018-09-14 04:57:22 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-09-28 11:09:01 -0600 |
commit | 539aece516d87084437a38d879a1b91c661209f8 (patch) | |
tree | a45acd2eefdd43707b7f5176a1b24e008b8d3668 /tools/binman/image.py | |
parent | f46621d255181bd8d1e8092945ffc66147b88531 (diff) |
binman: Obtain the list of device trees from the config
We always have a device tree for U-Boot proper. But we may also have one
for SPL and TPL. Add a new Entry method to find out what DTs an entry
has, and use that list when updating DTs.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/image.py')
-rw-r--r-- | tools/binman/image.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/binman/image.py b/tools/binman/image.py index 68126bc3e6..1fb5eb65db 100644 --- a/tools/binman/image.py +++ b/tools/binman/image.py @@ -54,6 +54,10 @@ class Image: self._filename = filename self._section = bsection.Section('main-section', self._node) + def GetFdtSet(self): + """Get the set of device tree files used by this image""" + return self._section.GetFdtSet() + def AddMissingProperties(self): """Add properties that are not present in the device tree |