[ADL] Adjust debug message level

Low debug message level to avoid too many
error message in the release build.

Signed-off-by: Guo Dong <guo.dong@intel.com>
This commit is contained in:
Guo Dong 2022-04-21 12:00:34 -07:00
parent 388640654c
commit 4a734902f1
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ GetCpuSkuInfo (
}
if (!SkuFound) {
DEBUG ((DEBUG_INFO, "Unsupported CPU SKU, Device ID: 0x%02X, CPUID: 0x%08X!\n", CpuDid, CpuFamilyModel));
DEBUG ((DEBUG_ERROR, "Unsupported CPU SKU, Device ID: 0x%02X, CPUID: 0x%08X!\n", CpuDid, CpuFamilyModel));
}
return CpuType;

View File

@ -351,7 +351,7 @@ BoardInit (
case PrePayloadLoading:
Status = IgdOpRegionInit ();
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_WARN, "VBT not found %r\n", Status));
DEBUG ((DEBUG_INFO, "VBT not found %r\n", Status));
}
///
@ -679,7 +679,7 @@ UpdateSmmInfo (
LdrSmmInfo->SmmBase = PcdGet32 (PcdSmramTsegBase);
LdrSmmInfo->SmmSize = PcdGet32 (PcdSmramTsegSize);
LdrSmmInfo->Flags = SMM_FLAGS_4KB_COMMUNICATION;
DEBUG ((DEBUG_ERROR, "Stage2: SmmRamBase = 0x%x, SmmRamSize = 0x%x\n", LdrSmmInfo->SmmBase, LdrSmmInfo->SmmSize));
DEBUG ((DEBUG_INFO, "Stage2: SmmRamBase = 0x%x, SmmRamSize = 0x%x\n", LdrSmmInfo->SmmBase, LdrSmmInfo->SmmSize));
//
// Update smi ctrl register data