]> git.sur5r.net Git - u-boot/blobdiff - tools/binman/etype/_testing.py
binman: Rename Entry property to 'section'
[u-boot] / tools / binman / etype / _testing.py
index 1783098c01cd263c6c9ff166072c76e3556f2367..c376dd5c9ca296d3b87618f36a0a4d589ddccd78 100644 (file)
@@ -1,8 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0+
 # Copyright (c) 2016 Google, Inc
 # Written by Simon Glass <sjg@chromium.org>
 #
-# SPDX-License-Identifier:      GPL-2.0+
-#
 # Entry-type module for testing purposes. Not used in real images.
 #
 
@@ -11,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'