mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +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):
|
||||
|
||||
_pod_serialization_version = 3
|
||||
_pod_serialization_version = 4
|
||||
|
||||
@staticmethod
|
||||
def from_pod(pod):
|
||||
@ -409,3 +409,7 @@ class TargetInfo(Podable):
|
||||
config[key.upper()] = value
|
||||
pod['kernel_config'] = config
|
||||
return pod
|
||||
|
||||
@staticmethod
|
||||
def _pod_upgrade_v4(pod):
|
||||
return TargetInfo._pod_upgrade_v3(pod)
|
||||
|
Loading…
x
Reference in New Issue
Block a user