mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
pack: Update bootldr1 filename based on Memory profile
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org> Change-Id: Ib40313860dda57f4e500ba465f9a89e64594e06d
This commit is contained in:
parent
ef050e1c51
commit
6a381cf782
1 changed files with 5 additions and 2 deletions
|
|
@ -849,7 +849,10 @@ class Pack(object):
|
|||
if tiny_image == None:
|
||||
continue
|
||||
|
||||
filename = "bootldr1_" + board + "_" + memory + ".mbn"
|
||||
if memory_size != "default":
|
||||
filename = "bootldr1_" + board + "_" + memory + "_LM" + memory_size + ".mbn"
|
||||
else:
|
||||
filename = "bootldr1_" + board + "_" + memory + ".mbn"
|
||||
|
||||
img_size = self.__get_img_size(filename)
|
||||
part_info = self.__get_part_info(partition)
|
||||
|
|
@ -1435,7 +1438,7 @@ class Pack(object):
|
|||
memory = "128M16"
|
||||
|
||||
if memory_size != "default":
|
||||
filename = "bootldr1_" + board + "_" + memory + "_LM" + memory_size + ".bin"
|
||||
filename = "bootldr1_" + board + "_" + memory + "_LM" + memory_size + ".mbn"
|
||||
else:
|
||||
filename = "bootldr1_" + board + "_" + memory + ".mbn"
|
||||
file_info = "bootldr1_" + board + "_" + memory
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue