From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: michael.d.kinney@intel.com) Received: from mga12.intel.com (mga12.intel.com []) by groups.io with SMTP; Wed, 08 May 2019 21:31:18 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2019 21:31:17 -0700 X-ExtLoop1: 1 Received: from unknown (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.241.98.74]) by orsmga004.jf.intel.com with ESMTP; 08 May 2019 21:31:16 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Zailiang Sun , Yi Qian Subject: [Patch 10/16] Vlv2TbltDevicePkg: Always enable QuietBoot to produce BGRT Date: Wed, 8 May 2019 21:31:05 -0700 Message-Id: <20190509043111.15272-11-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190509043111.15272-1-michael.d.kinney@intel.com> References: <20190509043111.15272-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../Library/PlatformBdsLib/BdsPlatform.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c index e86c6b3e2e..4d5997d6e9 100644 --- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c @@ -1,6 +1,6 @@ /** @file - Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -1702,6 +1702,8 @@ PlatformBdsPolicyBehavior ( EsrtManagement = NULL; } + DEBUG ((DEBUG_INFO, "BDS: BootMode=%02x\n", BootMode)); + switch (BootMode) { case BOOT_WITH_MINIMAL_CONFIGURATION: @@ -1778,9 +1780,8 @@ PlatformBdsPolicyBehavior ( goto FULL_CONFIGURATION; } - if (SystemConfiguration.QuietBoot) { - EnableQuietBoot (PcdGetPtr(PcdLogoFile)); - } else { + EnableQuietBoot (PcdGetPtr(PcdLogoFile)); + if (!SystemConfiguration.QuietBoot) { PlatformBdsDiagnostics (IGNORE, FALSE, BaseMemoryTest); } @@ -1864,8 +1865,7 @@ PlatformBdsPolicyBehavior ( // Boot with the specific configuration // PlatformBdsConnectConsole (gPlatformConsole); - PlatformBdsDiagnostics (EXTENSIVE, FALSE, BaseMemoryTest); - EnableQuietBoot (PcdGetPtr(PcdLogoFile)); + PlatformBdsDiagnostics (EXTENSIVE, TRUE, BaseMemoryTest); DEBUG((DEBUG_INFO, "ProcessCapsules Before EndOfDxe......\n")); ProcessCapsules (); @@ -1968,10 +1968,9 @@ FULL_CONFIGURATION: // Perform some platform specific connect sequence // PlatformBdsConnectSequence (); - if (SystemConfiguration.QuietBoot) { - EnableQuietBoot (PcdGetPtr(PcdLogoFile)); - } else { - PlatformBdsDiagnostics (IGNORE, FALSE, BaseMemoryTest); + EnableQuietBoot (PcdGetPtr(PcdLogoFile)); + if (!SystemConfiguration.QuietBoot) { + PlatformBdsDiagnostics (IGNORE, FALSE, BaseMemoryTest); } // -- 2.21.0.windows.1