Skip to content

Commit

Permalink
Merge pull request 96boards#64 from hzhuang1/reboot_delay
Browse files Browse the repository at this point in the history
EmbeddedPkg/AndroidFastboot: add delay before reboot
  • Loading branch information
hzhuang1 authored Mar 26, 2018
2 parents e36b8fc + af60f94 commit 2d8c108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <Library/BaseMemoryLib.h>
#include <Library/PcdLib.h>
#include <Library/PrintLib.h>
#include <Library/TimerLib.h>
#include <Library/UefiApplicationEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
Expand Down Expand Up @@ -439,6 +440,7 @@ AcceptCmd (
}
}
SEND_LITERAL ("OKAY");
MicroSecondDelay (3000000);
gRT->ResetSystem (EfiResetCold, EFI_SUCCESS, 0, NULL);

// Shouldn't get here
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
MemoryAllocationLib
PcdLib
PrintLib
TimerLib
UefiApplicationEntryPoint
UefiBootServicesTableLib
UefiLib
Expand Down

0 comments on commit 2d8c108

Please sign in to comment.