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

juno: use bootargs on hard_reset with u-boot

This commit is contained in:
Sergei Trofimov
2015-08-17 14:36:28 +01:00
parent 95c3f049fb
commit 205934d55b
4 changed files with 31 additions and 15 deletions

View File

@@ -126,8 +126,11 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
self._is_ready = False
self._just_rebooted = True
def boot(self, **kwargs):
self.reset()
def boot(self, hard=False, **kwargs):
if hard:
self.hard_reset()
else:
self.reset()
def connect(self): # NOQA pylint: disable=R0912
iteration_number = 0