QuarkPlatformPkg: Add modules required for TCG MOR feature
[mirror_edk2.git] / QuarkPlatformPkg / Quark.fdf
index 0da973a16e86e91a179ecd8012e71452b054a190..9f51eb37479d1c10ab9036c6253669fdd680f028 100644 (file)
@@ -2,7 +2,7 @@
 # FDF file of Clanton Peak CRB platform with 32-bit DXE\r
 #\r
 # This package provides QuarkNcSocId platform specific modules.\r
-# Copyright (c) 2013 - 2015 Intel Corporation.\r
+# Copyright (c) 2013 - 2016 Intel Corporation.\r
 #\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
@@ -342,6 +342,10 @@ INF  MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2
 INF  MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
 INF  UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf\r
 INF  UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
+!if $(MEASURED_BOOT_ENABLE)\r
+INF  SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf\r
+INF  SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
+!endif\r
 \r
 FILE FV_IMAGE = 1E9D7604-EF45-46a0-BD8A-71AC78C17AC1 {\r
   SECTION PEI_DEPEX_EXP = {gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid}\r
@@ -566,6 +570,15 @@ INF  MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
 INF  FatPkg/EnhancedFatDxe/Fat.inf\r
 !endif\r
 \r
+#\r
+# Trusted Platform Module\r
+#\r
+!if $(MEASURED_BOOT_ENABLE)\r
+INF  SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
+INF  SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
+INF  RuleOverride = DRIVER_ACPITABLE SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
+!endif\r
+\r
 ################################################################################\r
 #\r
 # FV Section\r
@@ -713,6 +726,16 @@ INF  RuleOverride = TIANOCOMPRESSED PerformancePkg/Dp_App/Dp.inf
     VERSION   STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
   }\r
 \r
+[Rule.Common.DXE_SMM_DRIVER.DRIVER_ACPITABLE]\r
+  FILE SMM = $(NAMED_GUID) {\r
+    DXE_DEPEX DXE_DEPEX Optional       $(INF_OUTPUT)/$(MODULE_NAME).depex\r
+    PE32      PE32                     $(INF_OUTPUT)/$(MODULE_NAME).efi\r
+    RAW ACPI  Optional                |.acpi\r
+    RAW ASL   Optional                |.aml\r
+    UI        STRING="$(MODULE_NAME)" Optional\r
+    VERSION   STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
+  }\r
+\r
 [Rule.Common.SMM_CORE]\r
   FILE SMM_CORE = $(NAMED_GUID) {\r
     PE32      PE32                     $(INF_OUTPUT)/$(MODULE_NAME).efi\r