From aa121a9bbef5e43cef64464d43a3ac8aba082fec Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Mon, 12 May 2025 17:06:22 +0200 Subject: [PATCH] payloads/external/edk2/Makefile: Set OemId Pcd Set the EDK2 PCD to COREv4 so that ACPI tables that are created by EDK2 always use the coreboot OEM ID instead of the default one ("INTEL"). The name is taken from: include/acpi/acpi.h (OEM_ID) tested: build and see that BGRT table contains COREv4 instead of INTEL as OEM ID. Change-Id: I5e3a7d0f133e5b790f59ea522a71647f72ffc79c Signed-off-by: Maximilian Brune Reviewed-on: https://review.coreboot.org/c/coreboot/+/87647 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- payloads/external/edk2/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile index 358c8c6125..d329b95b2a 100644 --- a/payloads/external/edk2/Makefile +++ b/payloads/external/edk2/Makefile @@ -173,6 +173,8 @@ BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow=0 BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn=0 endif +BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId="COREv4" + bootloader = $(word 8,$(subst /, ,$(BUILD_STR))) ifneq ($(CONFIG_EDK2_CUSTOM_BUILD_PARAMS),)