mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq807x: Modify flash script to flash V1 images in default case.
This change adds support to flash V1 images as if default version is 1, if the soc version information are not supported in boot loader. Change-Id: I7867ae3b26032215da45d2a97d61ea7398e152d9 Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This commit is contained in:
parent
7fb1dc8e4c
commit
06f249ac4c
1 changed files with 4 additions and 1 deletions
|
|
@ -767,7 +767,10 @@ class Pack(object):
|
|||
|
||||
if soc_version:
|
||||
section_conf = section_conf + "_v" + str(soc_version)
|
||||
script.start_if("soc_version_major", soc_version)
|
||||
if str(soc_version) == "1":
|
||||
script.append('if test "$soc_version_major" = "1" || test "$soc_version_major" = ""; then\n', fatal=False)
|
||||
else:
|
||||
script.start_if("soc_version_major", soc_version)
|
||||
|
||||
script.start_activity("Flashing %s:" % section_conf)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue