aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/state.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-20 12:23:29 -0600
committerSimon Glass <sjg@chromium.org>2019-07-29 09:38:05 -0600
commit4bdd1159805d99888ca60aa63efefbbd307f0cf2 (patch)
tree7ceabd79520fe968a00e71969e3d788d8ce2bdf8 /tools/binman/state.py
parenta8adb6dfebad9a08c2df9d9ee8f79b9518e57496 (diff)
downloadu-boot-4bdd1159805d99888ca60aa63efefbbd307f0cf2.zip
u-boot-4bdd1159805d99888ca60aa63efefbbd307f0cf2.tar.gz
u-boot-4bdd1159805d99888ca60aa63efefbbd307f0cf2.tar.bz2
binman: Rename state.GetFdts()
This function name conflicts with Entry.GetFdts() which has a different purpose. Rename it to avoid confusion. Also update a stale comment relating to this function. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/state.py')
-rw-r--r--tools/binman/state.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/binman/state.py b/tools/binman/state.py
index 5b9e005..77c7024 100644
--- a/tools/binman/state.py
+++ b/tools/binman/state.py
@@ -117,8 +117,8 @@ def GetEntryArg(name):
def Prepare(images, dtb):
"""Get device tree files ready for use
- This sets up a set of device tree files that can be retrieved by GetFdts().
- At present there is only one, that for U-Boot proper.
+ This sets up a set of device tree files that can be retrieved by
+ GetAllFdts(). This includes U-Boot proper and any SPL device trees.
Args:
images: List of images being used
@@ -152,7 +152,7 @@ def Prepare(images, dtb):
other_dtb = fdt.FdtScan(out_fname)
fdt_files[other_fname] = other_dtb
-def GetFdts():
+def GetAllFdts():
"""Yield all device tree files being used by binman
Yields: