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>2021-06-24 10:41:30 +0530
commit2cdba55c3a7a07b37a60d6f4dbfcfaa287e30ed4 (patch)
tree539268728615836e9bbfd5095bd02906a7c42bf2
parent4816c931ebe8a493f5ca2121fd8c6b1bc1312a71 (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)