mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
tool: pack: add layout switch for sbl partition
This patch adds support for sbl partition layout switch on IPQ5018 Change-Id: I74e6f1175f36fd58497e049ed16a71d70d3e4b03 Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com> Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This commit is contained in:
parent
d5357b5326
commit
cf43c5a299
1 changed files with 2 additions and 2 deletions
|
|
@ -1101,11 +1101,11 @@ class Pack(object):
|
|||
if part_info.which_flash == 0:
|
||||
offset = part_info.offset
|
||||
script.erase(offset, part_info.length)
|
||||
if ARCH_NAME in ["ipq9574", "ipq9574_64"]:
|
||||
if ARCH_NAME in ["ipq5018", "ipq5018_64", "ipq9574", "ipq9574_64"]:
|
||||
if self.flash_type == "nand-4k" and section_conf == "sbl1":
|
||||
script.switch_layout_qpic("sbl")
|
||||
script.write(offset, img_size)
|
||||
if ARCH_NAME in ["ipq9574", "ipq9574_64"]:
|
||||
if ARCH_NAME in ["ipq5018", "ipq5018_64", "ipq9574", "ipq9574_64"]:
|
||||
if self.flash_type == "nand-4k" and section_conf == "sbl1":
|
||||
script.switch_layout_qpic("linux")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue