QcomModulePkg: Library: Lower the unimportant log level
Lower the unimportant log level for improving the boot up time.
Change-Id: I84de2647b4921bba88ec7b98b692ed5b8332c95b
diff --git a/QcomModulePkg/Library/BootLib/BootLinux.c b/QcomModulePkg/Library/BootLib/BootLinux.c
index 1bf43b6..b15f4ed 100644
--- a/QcomModulePkg/Library/BootLib/BootLinux.c
+++ b/QcomModulePkg/Library/BootLib/BootLinux.c
@@ -1013,7 +1013,7 @@
StrLen ((CONST CHAR16 *)L"boot"))) {
Status = GetFfbmCommand (FfbmStr, FFBM_MODE_BUF_SIZE);
if (Status != EFI_SUCCESS) {
- DEBUG ((EFI_D_INFO, "No Ffbm cookie found, ignore: %r\n", Status));
+ DEBUG ((EFI_D_VERBOSE, "No Ffbm cookie found, ignore: %r\n", Status));
FfbmStr[0] = '\0';
}
}
diff --git a/QcomModulePkg/Library/BootLib/HypervisorMvCalls.c b/QcomModulePkg/Library/BootLib/HypervisorMvCalls.c
index 4a0a0bc..173b381 100644
--- a/QcomModulePkg/Library/BootLib/HypervisorMvCalls.c
+++ b/QcomModulePkg/Library/BootLib/HypervisorMvCalls.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -51,7 +51,7 @@
return HypInfo;
}
- DEBUG ((EFI_D_INFO, "GetVmData: making ScmCall to get HypInfo\n"));
+ DEBUG ((EFI_D_VERBOSE, "GetVmData: making ScmCall to get HypInfo\n"));
/* Locate QCOM_SCM_PROTOCOL */
Status = gBS->LocateProtocol (&gQcomScmProtocolGuid, NULL,
(VOID **)&QcomScmProtocol);
diff --git a/QcomModulePkg/Library/BootLib/MenuKeysDetection.c b/QcomModulePkg/Library/BootLib/MenuKeysDetection.c
index 42e79eb..3574e0a 100644
--- a/QcomModulePkg/Library/BootLib/MenuKeysDetection.c
+++ b/QcomModulePkg/Library/BootLib/MenuKeysDetection.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -70,7 +70,7 @@
gBS->CloseEvent (CallbackKeyDetection);
CallbackKeyDetection = NULL;
}
- DEBUG ((EFI_D_INFO, "Exit key detection timer\n"));
+ DEBUG ((EFI_D_VERBOSE, "Exit key detection timer\n"));
/* Clear the screen */
gST->ConOut->ClearScreen (gST->ConOut);
diff --git a/QcomModulePkg/Library/BootLib/Recovery.c b/QcomModulePkg/Library/BootLib/Recovery.c
index a3c8f85..c10e479 100644
--- a/QcomModulePkg/Library/BootLib/Recovery.c
+++ b/QcomModulePkg/Library/BootLib/Recovery.c
@@ -190,7 +190,7 @@
// Ensure NULL termination
Msg->command[sizeof (Msg->command) - 1] = '\0';
if (Msg->command[0] != 0 && Msg->command[0] != 255)
- DEBUG ((EFI_D_INFO, "Recovery command: %d %a\n", sizeof (Msg->command),
+ DEBUG ((EFI_D_VERBOSE, "Recovery command: %d %a\n", sizeof (Msg->command),
Msg->command));
if (!AsciiStrnCmp (Msg->command, RECOVERY_BOOT_RECOVERY,
diff --git a/QcomModulePkg/Library/BootLib/UpdateDeviceTree.c b/QcomModulePkg/Library/BootLib/UpdateDeviceTree.c
index 67a2dde..98727a9 100644
--- a/QcomModulePkg/Library/BootLib/UpdateDeviceTree.c
+++ b/QcomModulePkg/Library/BootLib/UpdateDeviceTree.c
@@ -560,7 +560,7 @@
DEBUG ((EFI_D_INFO,
"ERROR: Cannot update chosen node [kaslr-seed] - 0x%x\n", ret));
} else {
- DEBUG ((EFI_D_INFO, "kaslr-Seed is added to chosen node\n"));
+ DEBUG ((EFI_D_VERBOSE, "kaslr-Seed is added to chosen node\n"));
}
} else {
DEBUG ((EFI_D_INFO, "ERROR: Cannot generate Kaslr Seed - %r\n", Status));