summaryrefslogtreecommitdiff
path: root/tools/binman/state.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-08 23:25:27 +0300
committerSimon Glass <sjg@chromium.org>2019-07-24 22:53:46 +0300
commit086cec9f980efd6f25e184b84f626d4a667e6645 (patch)
tree2843f40dad0d820080cdf6c1469d3cbfae5827ac /tools/binman/state.py
parent3c0813115b8ebdf940505f6ae5c182d984f49d70 (diff)
downloadu-boot-086cec9f980efd6f25e184b84f626d4a667e6645.tar.xz
binman: Add an FDT map
An FDT map is an entry which holds a full description of the image entries, in FDT format. It can be discovered using the magic string at its start. Tools can locate and read this entry to find out what entries are in the image and where each entry is located. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/state.py')
-rw-r--r--tools/binman/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/state.py b/tools/binman/state.py
index af9678649c..3ccd7855d4 100644
--- a/tools/binman/state.py
+++ b/tools/binman/state.py
@@ -59,7 +59,7 @@ def GetFdtPath(fname):
"""
return fdt_files[fname]._fname
-def GetFdtContents(fname):
+def GetFdtContents(fname='u-boot.dtb'):
"""Looks up the FDT pathname and contents
This is used to obtain the Fdt pathname and contents when needed by an