]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Add Serial IO device path according to related protocol
authorLiu, Zhiguang <Zhiguang.Liu@intel.com>
Thu, 12 May 2022 10:54:58 +0000 (18:54 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 13 May 2022 01:47:11 +0000 (01:47 +0000)
commit57ebb2994d8be4cc3235661ebad8ff3886de28a5
tree2cb2ded8c846aa6e25e953c17e4e70266f68c8c6
parentd0efa681b6adab459acf762290397c0d4a26ed2a
UefiPayloadPkg: Add Serial IO device path according to related protocol

Current code follow some rules to check if the PCI device connected to a
serial port device, but some platform or hardware doesn't follow such rule.
By locating gEfiSerialIoProtocolGuid protocol, we can find the related
device path.

Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.c
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformConsole.h