mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
fw/target/info: Bump target info version
Due to mismatches in WA and devlib versions this previous upgrade method could have been trigger before it was needed and would not be called a second time. Now we can be sure that WA and devlib are updated together bump the version number again to ensure the upgrade method is called a second time to ensure the POD is upgraded correctly.
This commit is contained in:
parent
adb3ffa6aa
commit
ba0cd7f842
@ -313,7 +313,7 @@ def cache_target_info(target_info, overwrite=False):
|
|||||||
|
|
||||||
class TargetInfo(Podable):
|
class TargetInfo(Podable):
|
||||||
|
|
||||||
_pod_serialization_version = 3
|
_pod_serialization_version = 4
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def from_pod(pod):
|
def from_pod(pod):
|
||||||
@ -409,3 +409,7 @@ class TargetInfo(Podable):
|
|||||||
config[key.upper()] = value
|
config[key.upper()] = value
|
||||||
pod['kernel_config'] = config
|
pod['kernel_config'] = config
|
||||||
return pod
|
return pod
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def _pod_upgrade_v4(pod):
|
||||||
|
return TargetInfo._pod_upgrade_v3(pod)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user