Merge EDK2 from Mr.Chromebox's uefipayload_202309 into chromium ToT * cros/upstream-mrchromebox/uefipayload_202309: MdeModulePkg/EmmcIdentification: Clear Clk src select before reset UefiPayloadPkg: Set PcdFirstTimeWakeUpAPsBySipi to FALSE UefiPayloadPkg/PLatformHookLib: Set PcdSerialClockRate using HOB data UefiPayloadPkg/UefiPayloadEntry: Set serial ClockRate from parsed SerialInfo MdeModulePkg/Include/UniversalPayload: Add ClockRate field to UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO Revert "UefiCpuPkg: Solve that stack top address is not mapped in pagetable" UefiPayloadPkg: Add TcgPhysicalPresenceLibNull library so TPM_ENABLE=FALSE compiles UefiPayloadPkg: Fix build with coreboot-sdk 2022-09-18_c8870b1334 DxeTcgPhysicalPresenceLib: Pause before reboot so user can read msg DxeTcgPhysicalPresenceLib: Update reboot string DxeTcgPhysicalPresenceLib: Use ENTER to confirm changes DxeTcgPhysicalPresenceLib: clear screen before showing msg text UefiPayloadPkg: drop Platform override config TPM1.2 Add TcgPpVendorLibHasValidRequest function Add the function locally due to compilation errors SecurityPkg/Tcg: Update TPM help strings TPM1.2 Add TcgPhysicalPresenceLibUefiPayload Implement support to QEMU structures Tested with TPM1.2 Infineon SLB9660 & Atmel AT97SC3204 TPM1.2: Add Bios Menu TCG Configuration TPM2 update default var Fix TPM PPI issues: Add Flush_PPI_Cache function With some Intel processors (Intel Denverton) it is necessary to flush the cache before rebooting otherwise mppi data are lost Fix TPM2 Bios Setup Hang Avoid Hang in Bios Setup->Device Manager->TCG2 Configuration: Error Get TPM Manufacturer Fix TPM Dectetion issues Prevents variable TPM20Present and TPM12Present from being set simultaneously to avoid Tcg2Dxe init failure UefiPayloadPkg: Enable TPM1 and TPM2 UefiPayloadPkg: Check TPM PPI requests in PlatformBootManager UefiPayloadPkg: Parse coreboot's TPM PPI handoff buffer OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu: Add timeout OvmfPkg: Introduce Tcg2PhysicalPresencePlatformLib [HACK]UefiPayloadPkg: Fix TPM2 support without PEI UefiPayloadPkg: Add TPM support UefiPayloadPkg: Advertise TPM support in BlSupportDxe UefiPayloadPkg: Check more ACPI tables Secureboot: fix dbx unable to be updated by OS Add System76 Secure Boot keys SecureBootSetup: don't enable SB by default UefiPayloadPkg: Increase FD size UefiPayloadPkg: Support UEFI PXE boot UefipayloadPkg: Add network support Update pk Secureboot: dbx update to latest database UefiPayloadPkg: Update APRIORI UefiPayloadPkg/BlSMMStoreDxe: Support Secureboot MdeModulePkg: Be more verbose about SecureBoot and the reason why the boot failed UefiPayloadPkg: Add Secureboot support MdeModulePkg/FaultTolerantWrite: Don't check for block alignment SmmStoreFvbRuntime: drop block alignment check UefiPayloadPkg: set PcdMaxVariableSize to 0x8000 MdeModulePkg: set col/row defaults to 128/40 MdeModulePkg: Wait for input after boot failure UefiPayloadPkg: set BOOTSPLASH_IMAGE to default true MdeModulePkg/Logo: Add a PCD to control the position of the Logo MdeModulePkg/BootLogoLib: Add option to follow BGRT specification MdeModulePkg/DeviceManagerUiLib: Change the string of "Device Manager" DeviceManager: Add empty lines between entries UefiPayloadPkg: Move Device Manager to bottom of menu options UefiPayloadPkg: Use PlatformGopPolicy UefiPayloadPkg: Add PlatformGopPolicy ShellPkg: disable startup script, show welcome banner MdeModulePkg/Usb/Keyboard.c: remove Get/SetConfig calls PlatformBootManager: Send SMM trigger for BYT MdeModulePkg/SdMmcPciHcDxe: add Bayhub support MdeModulePkg/BootMaintenance: Rework and rename to Boot Manager MdeModulePkg/BmBootDesciption: Improve device descriptions MdeModulePkg/BootManager: Rework and rename to Boot Menu MdeModulePkg/UiApp: Add SMBIOS device name lookup MdeModulePkg/UiApp: Rework Frontpage layout/SMBIOS data display UefiPayloadPkg/PlatformBootMgr: Show boot message as progress text BootLogoLib: Add function to clear progress MdeModulePkg/BmBoot: skip secondary eMMC entries UefiPayloadPkg: Use new filesystem drivers Add filesystem drivers UefiPayloadPkg: Hookup Prioritise Internal build option MdeModulePkg/UefiBootManagerLib: Add Pcd to prioritize internal devices UefiCpuPkg: Disable MTRR programming for UefiPayloadPkg UefiPayloadPkg: Add support for Firmware Volume Block Protocol UefiPayloadPkg: Add SmmStoreLib UefiPayloadPkg: Add SmmStoreInfoGuid UefiPayloadPkg/Include/Coreboot: Add headers for SMMSTOREv2 table BUG=b:292279347 TEST=Ensure there are no merge conflicts. EDK2 ebuild needs to be re-enabled. Change-Id: I65f5a4def7cd2703a8d515425c1e3fc7f80d63da