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: Set default qcn9224_version as 1
If detect_qcn9224 command is not supported in Uboot, qcn9224 V1 image will be flashed. Change-Id: I36c3b7c5959b4736abe69d218cae2880c20cfad1 Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This commit is contained in:
parent
724870b677
commit
144fe5efd0
1 changed files with 4 additions and 4 deletions
|
|
@ -790,8 +790,8 @@ class Pack(object):
|
|||
|
||||
def __gen_flash_script_wififw_ubi_volume_qcn9224_v1(self, entries, fw_filename, wifi_fw_type, script):
|
||||
|
||||
script.append("detect_qcn9224", fatal=False)
|
||||
script.append('if test "$qcn9224_version" = "1" then\n', fatal=False)
|
||||
script.append("setenv qcn9224_version 1 && detect_qcn9224", fatal=False)
|
||||
script.append('if test "$qcn9224_version" = "1"; then\n', fatal=False)
|
||||
|
||||
script.start_activity("Flashing " + fw_filename[:-13] + ":")
|
||||
script.imxtract(fw_filename[:-13] + "-" + sha1(fw_filename))
|
||||
|
|
@ -976,8 +976,8 @@ class Pack(object):
|
|||
print "Flash type is norplusemmc"
|
||||
return 1
|
||||
|
||||
script.append("detect_qcn9224", fatal=False)
|
||||
script.append('if test "$qcn9224_version" = "1" then\n', fatal=False)
|
||||
script.append("setenv qcn9224_version 1 && detect_qcn9224", fatal=False)
|
||||
script.append('if test "$qcn9224_version" = "1"; then\n', fatal=False)
|
||||
|
||||
script.start_activity("Flashing %s:" % ( filename[:-13] ))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue