binman: Remove hard-coded file name for x86 flash-descriptor & intel-me
authorStefan Roese <sr@denx.de>
Thu, 30 Mar 2017 10:58:12 +0000 (12:58 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 10 Apr 2017 02:02:03 +0000 (10:02 +0800)
Now that we have added file names from Kconfig in x86 u-boot.dtsi,
update binman to avoid using hard-coded names.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
tools/binman/etype/intel_descriptor.py
tools/binman/etype/intel_me.py

index 7f4ea0b21be98c1d68bfa2b97b621794240c2d7d..6435749e7cd72a7e7e79c8808c57ffe72b944959 100644 (file)
@@ -37,9 +37,6 @@ class Entry_intel_descriptor(Entry_blob):
         Entry_blob.__init__(self, image, etype, node)
         self._regions = []
 
-    def GetDefaultFilename(self):
-        return 'descriptor.bin'
-
     def GetPositions(self):
         pos = self.data.find(FD_SIGNATURE)
         if pos == -1:
index 45ab50c1ec3e6c7cfd688db43177972acc7b9499..5e1c7993b7bfe6e1f931db4fcf5dab15d7f6fe26 100644 (file)
@@ -12,6 +12,3 @@ from blob import Entry_blob
 class Entry_intel_me(Entry_blob):
     def __init__(self, image, etype, node):
         Entry_blob.__init__(self, image, etype, node)
-
-    def GetDefaultFilename(self):
-        return 'me.bin'