binman: Support an entry that holds text
[oweals/u-boot.git] / tools / binman / etype / intel_cmc.py
index 30676c8ad05ac779f2eff419679e082fd9d92aa8..b8621e0cc5ece75201bdd6b84faefb76f6acd880 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 Intel Chip Microcode binary blob
 #
 
@@ -10,5 +9,5 @@ from entry import Entry
 from blob import Entry_blob
 
 class Entry_intel_cmc(Entry_blob):
-    def __init__(self, image, etype, node):
-        Entry_blob.__init__(self, image, etype, node)
+    def __init__(self, section, etype, node):
+        Entry_blob.__init__(self, section, etype, node)