summaryrefslogtreecommitdiff
path: root/tools/binman/image.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-07-20 11:49:44 +0100
committerSimon Glass <sjg@chromium.org>2024-07-29 08:42:18 -0600
commitdaed9b42b42cee1d0ea33a568707fb9eef423f9f (patch)
tree2bc463281132e9ef1671fc711f18b6410b9b81c9 /tools/binman/image.py
parent2e3697b954c09bd731e8b351f561f25480238aca (diff)
binman: Allow entry types to override FDT contents
At present the contents of an FDT (for each phase) are fixed, determined by the build and provided to Binman as input files. Provide a means for entry types to provide their own FDT, so that it can be processed, if needed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/image.py')
-rw-r--r--tools/binman/image.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/binman/image.py b/tools/binman/image.py
index 97443d3c0a7..c1be5cc23a2 100644
--- a/tools/binman/image.py
+++ b/tools/binman/image.py
@@ -425,3 +425,7 @@ class Image(section.Entry_section):
super().AddBintools(bintools)
self.bintools = bintools
return bintools
+
+ def FdtContents(self, fdt_etype):
+ """This base-class implementation simply calls the state function"""
+ return state.GetFdtContents(fdt_etype)