binman: Remove hard-coded file name for x86 flash-descriptor & intel-me
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>
This commit is contained in:
parent
cccab03a52
commit
2b4c652896
@ -37,9 +37,6 @@ class Entry_intel_descriptor(Entry_blob):
|
|||||||
Entry_blob.__init__(self, image, etype, node)
|
Entry_blob.__init__(self, image, etype, node)
|
||||||
self._regions = []
|
self._regions = []
|
||||||
|
|
||||||
def GetDefaultFilename(self):
|
|
||||||
return 'descriptor.bin'
|
|
||||||
|
|
||||||
def GetPositions(self):
|
def GetPositions(self):
|
||||||
pos = self.data.find(FD_SIGNATURE)
|
pos = self.data.find(FD_SIGNATURE)
|
||||||
if pos == -1:
|
if pos == -1:
|
||||||
|
@ -12,6 +12,3 @@ from blob import Entry_blob
|
|||||||
class Entry_intel_me(Entry_blob):
|
class Entry_intel_me(Entry_blob):
|
||||||
def __init__(self, image, etype, node):
|
def __init__(self, image, etype, node):
|
||||||
Entry_blob.__init__(self, image, etype, node)
|
Entry_blob.__init__(self, image, etype, node)
|
||||||
|
|
||||||
def GetDefaultFilename(self):
|
|
||||||
return 'me.bin'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user