summaryrefslogtreecommitdiff
path: root/tools/binman/etype/_testing.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-06-01 18:38:14 +0300
committerSimon Glass <sjg@chromium.org>2018-06-07 22:25:08 +0300
commit25ac0e61fe5612d28cbc98654fb325d762f4411b (patch)
tree7234285f293e8978b84c54b67d43cfc337167ae5 /tools/binman/etype/_testing.py
parentf55382b5e55b6922aebe45658ac72381fc205d23 (diff)
downloadu-boot-25ac0e61fe5612d28cbc98654fb325d762f4411b.tar.xz
binman: Rename Entry property to 'section'
Entries are now passed a Section object rather than an Image. Rename this property to avoid confusion. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/etype/_testing.py')
-rw-r--r--tools/binman/etype/_testing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/etype/_testing.py b/tools/binman/etype/_testing.py
index b166a71c4a..c376dd5c9c 100644
--- a/tools/binman/etype/_testing.py
+++ b/tools/binman/etype/_testing.py
@@ -10,8 +10,8 @@ import fdt_util
import tools
class Entry__testing(Entry):
- def __init__(self, image, etype, node):
- Entry.__init__(self, image, etype, node)
+ def __init__(self, section, etype, node):
+ Entry.__init__(self, section, etype, node)
def ObtainContents(self):
self.data = 'a'