From 61a7f360d9d12155e75fdba3514ca787735af588 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 2 May 2019 19:41:57 -0600 Subject: [PATCH] UefiPayloadPkg: Add Intel GOP driver --- UefiPayloadPkg/UefiPayloadPkg.fdf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayloadPkg.fdf index 1f911c4c02..09c71bd69d 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -297,6 +297,21 @@ SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize = $(BLOCK_SIZ SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase = gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase + gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize = $(BLOCK_SIZE) +!ifdef $(FIRMWARE_OPEN_GOP_POLICY) + # Add PlatformGopPolicy implementation + !if $(ARCH) == IA32 + !else + INF RuleOverride=BINARY USE = X64 $(FIRMWARE_OPEN_GOP_POLICY) + !endif +!endif +!ifdef $(FIRMWARE_OPEN_GOP) + # Use IntelGopDriver binary + !if $(ARCH) == IA32 + !else + INF RuleOverride=BINARY USE = X64 $(FIRMWARE_OPEN_GOP) + !endif +!endif + ################################################################################ # # Rules are use with the [FV] section's module INF type to define