mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
tools: pack: Added Filename null check during memory specific image
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org> Change-Id: Ic61372ac9c69c6e951f86a70aaaa58b23010ccc2
This commit is contained in:
parent
10994a1641
commit
924c4932a5
1 changed files with 2 additions and 2 deletions
|
|
@ -1208,7 +1208,7 @@ class Pack(object):
|
|||
print "Skipping partition '%s'" % section.attrib['label']
|
||||
pass
|
||||
|
||||
if section != None and section.get('filename_mem' + memory_size) != None:
|
||||
if section != None and filename != "" and section.get('filename_mem' + memory_size) != None:
|
||||
filename = section.get('filename_mem' + memory_size)
|
||||
|
||||
if section != None and atf == "true" and section.get('filename_atf') != None:
|
||||
|
|
@ -1613,7 +1613,7 @@ class Pack(object):
|
|||
print "Skipping partition '%s'" % section.attrib['label']
|
||||
pass
|
||||
|
||||
if section != None and section.get('filename_mem' + memory_size) != None:
|
||||
if section != None and filename != "" and section.get('filename_mem' + memory_size) != None:
|
||||
filename = section.get('filename_mem' + memory_size)
|
||||
|
||||
if section != None and atf == "true" and section.get('filename_atf') != None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue