tools: pack: Update EMMC flash script generation

Change-Id: I26c50de5b94536d32b9c171ff348d8b8e40eb1cd
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This commit is contained in:
Praveenkumar I 2022-08-08 17:47:43 +05:30 committed by Gerrit - the friendly Code Review server
parent 45d4d7068e
commit 724870b677

View file

@ -1552,11 +1552,11 @@ class Pack(object):
if filename == "":
continue
wifi_fw_type = str(fw_type)
if wifi_fw_type < wifi_fw_type_max:
if wifi_fw_type < "7":
ret = self.__gen_flash_script_wififw(entries, partition, filename, wifi_fw_type, flinfo, script, skip_size_check)
if ret == 0:
return 0
elif wifi_fw_type == wifi_fw_type_max:
elif wifi_fw_type == "7":
ret = self.__gen_flash_script_wififw_qcn9224_v1(entries, partition, filename, wifi_fw_type, flinfo, script, skip_size_check)
if ret == 0:
return 0