1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-04 20:32:36 +01:00

fw/target: add initialize() to TargetManger

Add explicit initialization to TargetManger in order to separate the
creation of the TargetManger form connection to the target.
This commit is contained in:
Sergei Trofimov
2018-06-22 16:29:00 +01:00
committed by Marc Bonnici
parent 3b322a36c9
commit 8da911e9d5
2 changed files with 4 additions and 0 deletions

View File

@@ -34,9 +34,12 @@ class TargetManager(object):
self.assistant = None
self.platform_name = None
self.is_responsive = None
self.rpm = None
self.parameters = parameters
self.disconnect = parameters.get('disconnect')
def initialize(self):
self._init_target()
# If target supports hotplugging, online all cpus before perform discovery