summaryrefslogtreecommitdiff
path: root/tools/binman/elf_test.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-09-26 17:18:34 -0600
committerTom Rini <trini@konsulko.com>2024-09-26 17:18:34 -0600
commitddbcafeb53e7093c58488596bfce6d8823777c3a (patch)
treeb2e250f8fda9d3619de0c0c16c1d853bc4181005 /tools/binman/elf_test.py
parent4386ab9118e7b405829fbcb3bbbaf2f47ddf0b44 (diff)
parentac0876c890c2dcaa4e21ce36bfa2ea3e02139a01 (diff)
Merge tag 'dm-next-26sep24' of https://source.denx.de/u-boot/custodians/u-boot-dm into next
CI: https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/22430 CI: https://dev.azure.com/simon0972/u-boot/_build/results?buildId=68&view=results
Diffstat (limited to 'tools/binman/elf_test.py')
-rw-r--r--tools/binman/elf_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/elf_test.py b/tools/binman/elf_test.py
index b64134123c1..2f22639dffc 100644
--- a/tools/binman/elf_test.py
+++ b/tools/binman/elf_test.py
@@ -37,7 +37,7 @@ class FakeSection:
"""A fake Section object, used for testing
This has the minimum feature set needed to support testing elf functions.
- A LookupSymbol() function is provided which returns a fake value for amu
+ A GetSymbolValue() function is provided which returns a fake value for any
symbol requested.
"""
def __init__(self, sym_value=1):
@@ -46,7 +46,7 @@ class FakeSection:
def GetPath(self):
return 'section_path'
- def LookupImageSymbol(self, name, weak, msg, base_addr):
+ def GetImageSymbolValue(self, name, weak, msg, base_addr):
"""Fake implementation which returns the same value for all symbols"""
return self.sym_value