1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-03 20:02:39 +01:00

fw: implement reboot signals

- Wire up reboot signals via the TargetManager
- Add instrument mappings for the same.
This commit is contained in:
Sergei Trofimov
2018-05-29 09:40:39 +01:00
committed by Marc Bonnici
parent 3a6fcd688e
commit 43d047eeb5
3 changed files with 11 additions and 6 deletions

View File

@@ -74,6 +74,10 @@ class TargetManager(object):
def get_target_info(self):
return get_target_info(self.target)
def reboot(self):
with signal.wrap('REBOOT'):
self.target.reboot()
def merge_runtime_parameters(self, parameters):
return self.rpm.merge_runtime_parameters(parameters)