summaryrefslogtreecommitdiff
path: root/tools/binman/etype/u_boot_spl.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-06-01 18:38:13 +0300
committerSimon Glass <sjg@chromium.org>2018-06-07 22:25:07 +0300
commitf55382b5e55b6922aebe45658ac72381fc205d23 (patch)
treea06d2f15d32fa4d0eeed77274cf1b729e5832e34 /tools/binman/etype/u_boot_spl.py
parent8f1da50ccca246fe2c3e9d8ef890b48e7bc8795b (diff)
downloadu-boot-f55382b5e55b6922aebe45658ac72381fc205d23.tar.xz
binman: Rename ELF parameters to 'section'
We now pass a Section object to these functions rather than an Image. Rename the parameters to avoid confusion. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/etype/u_boot_spl.py')
-rw-r--r--tools/binman/etype/u_boot_spl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/etype/u_boot_spl.py b/tools/binman/etype/u_boot_spl.py
index 6a1c123467..bfcdc499c2 100644
--- a/tools/binman/etype/u_boot_spl.py
+++ b/tools/binman/etype/u_boot_spl.py
@@ -18,5 +18,5 @@ class Entry_u_boot_spl(Entry_blob):
def GetDefaultFilename(self):
return 'spl/u-boot-spl.bin'
- def WriteSymbols(self, image):
- elf.LookupAndWriteSymbols(self.elf_fname, self, image)
+ def WriteSymbols(self, section):
+ elf.LookupAndWriteSymbols(self.elf_fname, self, section)