Vlv2TbltDevicePkg: Always enable QuietBoot to produce BGRT

Cc: Zailiang Sun <zailiang.sun@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Zailiang Sun <zailiang.sun@intel.com>
Reviewed-by: Yi Qian <yi.qian@intel.com>
This commit is contained in:
Michael D Kinney 2019-05-08 15:04:06 -07:00
parent 76386f4292
commit a4390a28b8

View File

@ -1,6 +1,6 @@
/** @file /** @file
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
@ -1702,6 +1702,8 @@ PlatformBdsPolicyBehavior (
EsrtManagement = NULL; EsrtManagement = NULL;
} }
DEBUG ((DEBUG_INFO, "BDS: BootMode=%02x\n", BootMode));
switch (BootMode) { switch (BootMode) {
case BOOT_WITH_MINIMAL_CONFIGURATION: case BOOT_WITH_MINIMAL_CONFIGURATION:
@ -1778,9 +1780,8 @@ PlatformBdsPolicyBehavior (
goto FULL_CONFIGURATION; goto FULL_CONFIGURATION;
} }
if (SystemConfiguration.QuietBoot) { EnableQuietBoot (PcdGetPtr(PcdLogoFile));
EnableQuietBoot (PcdGetPtr(PcdLogoFile)); if (!SystemConfiguration.QuietBoot) {
} else {
PlatformBdsDiagnostics (IGNORE, FALSE, BaseMemoryTest); PlatformBdsDiagnostics (IGNORE, FALSE, BaseMemoryTest);
} }
@ -1864,8 +1865,7 @@ PlatformBdsPolicyBehavior (
// Boot with the specific configuration // Boot with the specific configuration
// //
PlatformBdsConnectConsole (gPlatformConsole); PlatformBdsConnectConsole (gPlatformConsole);
PlatformBdsDiagnostics (EXTENSIVE, FALSE, BaseMemoryTest); PlatformBdsDiagnostics (EXTENSIVE, TRUE, BaseMemoryTest);
EnableQuietBoot (PcdGetPtr(PcdLogoFile));
DEBUG((DEBUG_INFO, "ProcessCapsules Before EndOfDxe......\n")); DEBUG((DEBUG_INFO, "ProcessCapsules Before EndOfDxe......\n"));
ProcessCapsules (); ProcessCapsules ();
@ -1968,10 +1968,9 @@ FULL_CONFIGURATION:
// Perform some platform specific connect sequence // Perform some platform specific connect sequence
// //
PlatformBdsConnectSequence (); PlatformBdsConnectSequence ();
if (SystemConfiguration.QuietBoot) { EnableQuietBoot (PcdGetPtr(PcdLogoFile));
EnableQuietBoot (PcdGetPtr(PcdLogoFile)); if (!SystemConfiguration.QuietBoot) {
} else { PlatformBdsDiagnostics (IGNORE, FALSE, BaseMemoryTest);
PlatformBdsDiagnostics (IGNORE, FALSE, BaseMemoryTest);
} }
// //