diff mbox series

QcomModulePkg: LinuxLoader: Add explicit message on serial line as to boot mode keys

Message ID 20190806202729.129262-1-john.stultz@linaro.org
State New
Headers show
Series QcomModulePkg: LinuxLoader: Add explicit message on serial line as to boot mode keys | expand

Commit Message

John Stultz Aug. 6, 2019, 8:27 p.m. UTC
Pressing <Down> 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.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Amit Pundir <amit.pundir@linaro.org>
Cc: Nicolas Dechense <nicolas.dechesne@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>

---
 QcomModulePkg/Application/LinuxLoader/LinuxLoader.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1
diff mbox series

Patch

diff --git a/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c b/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c
index db37872d8..307052dc3 100644
--- a/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c
+++ b/QcomModulePkg/Application/LinuxLoader/LinuxLoader.c
@@ -185,6 +185,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)