1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-24 05:27:50 +00:00

module/vexpress: Remove reference to android.

This method is also called when booting linux so remove specific
reference to Android.
This commit is contained in:
Marc Bonnici 2020-06-24 17:07:47 +01:00 committed by setrofim
parent af8c47151e
commit 3d5a164338

View File

@ -130,7 +130,7 @@ class VexpressBootModule(BootModule):
init_dtr=0) as tty: init_dtr=0) as tty:
self.get_through_early_boot(tty) self.get_through_early_boot(tty)
self.perform_boot_sequence(tty) self.perform_boot_sequence(tty)
self.wait_for_android_prompt(tty) self.wait_for_shell_prompt(tty)
def perform_boot_sequence(self, tty): def perform_boot_sequence(self, tty):
raise NotImplementedError() raise NotImplementedError()
@ -159,8 +159,8 @@ class VexpressBootModule(BootModule):
menu.wait(timeout=self.timeout) menu.wait(timeout=self.timeout)
return menu return menu
def wait_for_android_prompt(self, tty): def wait_for_shell_prompt(self, tty):
self.logger.debug('Waiting for the Android prompt.') self.logger.debug('Waiting for the shell prompt.')
tty.expect(self.target.shell_prompt, timeout=self.timeout) tty.expect(self.target.shell_prompt, timeout=self.timeout)
# This delay is needed to allow the platform some time to finish # This delay is needed to allow the platform some time to finish
# initilizing; querying the ip address too early from connect() may # initilizing; querying the ip address too early from connect() may