]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/SmbiosMiscDxe: Get full SMBIOS strings from OemMiscLib
authorNhi Pham <nhi@os.amperecomputing.com>
Thu, 16 Dec 2021 03:54:54 +0000 (10:54 +0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 16 Dec 2021 18:08:22 +0000 (18:08 +0000)
commit45e38429700af53617d04dfa05ee57adcecef3de
tree3e5d4f26dd8b7945dd1966017cf6679f9ea3333a
parenta6c04186513e720a8ab1b3d9bcbc6583f7f895a1
ArmPkg/SmbiosMiscDxe: Get full SMBIOS strings from OemMiscLib

Typically, the information of the SMBIOS type 1/2/3 is fetched from an
FRU device during UEFI booting intead of fixed PCDs. Therefore, this
patch is to add more HII string fields in the OemMiscLib and support
updating these SMBIOS types with the strings provided by the OemMiscLib
if the PCDs are empty.

Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPkg/Include/Library/OemMiscLib.h
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunction.c