ipq807x: Add support for fail-safe boot on WIFI FW partition.

Change-Id: I82a541555298a589e6acf9a57d56304af441a0ce
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
This commit is contained in:
Venkat Raju Sana 2017-12-06 17:46:47 -08:00 committed by Gerrit - the friendly Code Review server
parent f2d892333f
commit 2b68fba7af

View file

@ -880,6 +880,8 @@ class Pack(object):
section_conf = "u-boot"
elif section_conf == "rootfs" and (self.flash_type == "nand" or self.flash_type == "norplusnand"):
section_conf = "ubi"
elif section_conf == "wififw" and (self.flash_type == "nand" or self.flash_type == "norplusnand"):
section_conf = "wififw_ubi"
script.start_activity("Flashing %s:" % section_conf)
@ -1107,6 +1109,8 @@ class Pack(object):
section_conf = "u-boot"
elif section_conf == "rootfs" and (self.flash_type == "nand" or self.flash_type == "norplusnand"):
section_conf = "ubi"
elif section_conf == "wififw" and (self.flash_type == "nand" or self.flash_type == "norplusnand"):
section_conf = "wififw_ubi"
image_info = ImageInfo(section_conf + "-" + sha1(filename),
filename, "firmware")
if filename.lower() != "none":