summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2019-08-28 22:49:28 +0530
committerAmit Pundir <amit.pundir@linaro.org>2019-11-27 22:18:34 +0530
commit2e4c4d17252ecbf9233dcdf424efcbd76e6f5dc6 (patch)
tree3f43d4f3ac788c65a33b56fb99b27f78c91cf2a2
parentfc5cd1dd23aa9373d3b7da72b681bbc439004586 (diff)
QcomModulePkg: LinuxLoader: Add explicit message on serial line as to boot mode keys
Pressing <DOWN> over serial UART console will force the loader to enter fastboot mode, and similarly with <UP> and <ESC>, so lets make these helpful keys more discoverable with an explicit message on the serial line. Signed-off-by: John Stultz <john.stultz@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Tested-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--QcomModulePkg/Application/LinuxLoader/LinuxLoader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c b/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c
index 89d4b81bba..fc64857816 100644
--- a/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c
+++ b/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c
@@ -190,6 +190,7 @@ LinuxLoaderEntry (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
FindPtnActiveSlot ();
}
+ DEBUG ((EFI_D_INFO, "Press <Down> to enter fastboot, <Up> to enter recovery, or <ESC> to enter EmergencyDLOAD\n"));
Status = GetKeyPress (&KeyPressed);
if (Status == EFI_SUCCESS) {
if (KeyPressed == SCAN_DOWN)