mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "pack_v2: Append flupdate commands"
This commit is contained in:
commit
fb2b4f64fc
1 changed files with 5 additions and 0 deletions
|
|
@ -903,6 +903,8 @@ class Pack(object):
|
|||
script.append("flashinit nand")
|
||||
elif flinfo.type == "emmc" or self.flash_type == "norplusemmc":
|
||||
script.append("flashinit mmc")
|
||||
if flinfo.type == "emmc":
|
||||
script.append("flupdate set mmc")
|
||||
|
||||
if flinfo.type != "emmc" and image_type != "hlos":
|
||||
self.__gen_script_mibib(script, flinfo, parts, parts_length, "mibib_reload")
|
||||
|
|
@ -1068,6 +1070,9 @@ class Pack(object):
|
|||
|
||||
continue
|
||||
|
||||
if flinfo.type == "emmc":
|
||||
script.append("flupdate clear")
|
||||
|
||||
return 1
|
||||
|
||||
def __gen_script_cdt(self, images, flinfo, root, section_conf, partition):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue