mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-09 13:22:51 +01:00
Merge "ipq807x: Add support for fail-safe boot on WIFI FW partition."
This commit is contained in:
commit
41d043fcf2
1 changed files with 4 additions and 0 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue