Update FSP to follow:
https://firmware.intel.com/sites/default/files/FSP_EAS_v2.0_Draft%20External.pdf

Add API required by FSP2.0.
Add component required by FSP2.0.

The FSP1.1 compatibility is NOT maintained.

The new Intel platform will follow FSP2.0.
The old platform can either use an old EDK branch,
or move FSP1.1 support to platform directory.

Cc: Giri P Mudusuru <giri.p.mudus...@intel.com>
Cc: Maurice Ma <maurice...@intel.com>
Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen....@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com>
Reviewed-by: Maurice Ma <maurice...@intel.com>
Reviewed-by: Ravi P Rangarajan <ravi.p.rangara...@intel.com>
---
 IntelFspPkg/IntelFspPkg.dec | 13 +++++++++++--
 IntelFspPkg/IntelFspPkg.dsc | 11 +++++++----
 2 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/IntelFspPkg/IntelFspPkg.dec b/IntelFspPkg/IntelFspPkg.dec
index 6f8a630..225fe2c 100644
--- a/IntelFspPkg/IntelFspPkg.dec
+++ b/IntelFspPkg/IntelFspPkg.dec
@@ -1,7 +1,7 @@
 ## @file
 # Provides driver and definitions to build fsp in EDKII bios.
 #
-# Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
 # This program and the accompanying materials are licensed and made available 
under
 # the terms and conditions of the BSD License that accompanies this 
distribution.
 # The full text of the license may be found at
@@ -62,17 +62,26 @@
   gFspReservedMemoryResourceHobGfxGuid  = { 0x9c7c3aa7, 0x5332, 0x4917, { 
0x82, 0xb9, 0x56, 0xa5, 0xf3, 0xe6, 0x2a, 0x07 } }
   gFspReservedMemoryResourceHobMiscGuid = { 0x00d6b14b, 0x7dd0, 0x4062, { 
0x88, 0x21, 0xe5, 0xf9, 0x6a, 0x2a, 0x1b, 0x00 } }
 
+  gFspPerformanceDataGuid               = { 0x56ed21b6, 0xba23, 0x429e, { 
0x89, 0x32, 0x37, 0x6d, 0x8e, 0x18, 0x2e, 0xe3 } }
+  gFspEventEndOfFirmwareGuid            = { 0xbd44f629, 0xeae7, 0x4198, { 
0x87, 0xf1, 0x39, 0xfa, 0xb0, 0xfd, 0x71, 0x7e } }
+
 [PcdsFixedAtBuild]
   gIntelFspPkgTokenSpaceGuid.PcdGlobalDataPointerAddress 
|0xFED00108|UINT32|0x00000001
   gIntelFspPkgTokenSpaceGuid.PcdTemporaryRamBase         
|0xFEF00000|UINT32|0x10001001
   gIntelFspPkgTokenSpaceGuid.PcdTemporaryRamSize         |    
0x2000|UINT32|0x10001002
   gIntelFspPkgTokenSpaceGuid.PcdFspTemporaryRamSize      |    
0x1000|UINT32|0x10001003
+  gIntelFspPkgTokenSpaceGuid.PcdFspReservedBufferSize    |     
0x100|UINT32|0x10001004
   gIntelFspPkgTokenSpaceGuid.PcdFspMaxPerfEntry          |        
32|UINT32|0x00002001
   gIntelFspPkgTokenSpaceGuid.PcdFspMaxPatchEntry         |         
6|UINT32|0x00002002
   gIntelFspPkgTokenSpaceGuid.PcdFspAreaBaseAddress       
|0xFFF80000|UINT32|0x10000001
   gIntelFspPkgTokenSpaceGuid.PcdFspAreaSize              
|0x00040000|UINT32|0x10000002
   
gIntelFspPkgTokenSpaceGuid.PcdFspBootFirmwareVolumeBase|0xFFF80000|UINT32|0x10000003
+  gIntelFspPkgTokenSpaceGuid.PcdFspHeaderSpecVersion     |      0x20| 
UINT8|0x00000002
 
+  # x % of FSP temporary memory will be used for heap
+  # (100 - x) % of FSP temporary memory will be used for stack
+  gIntelFspPkgTokenSpaceGuid.PcdFspHeapSizePercentage    |        50| 
UINT8|0x10000004
+  
 [PcdsFixedAtBuild,PcdsDynamic,PcdsDynamicEx]
   gIntelFspPkgTokenSpaceGuid.PcdFspReservedMemoryLength 
|0x00100000|UINT32|0x46530000
-  gIntelFspPkgTokenSpaceGuid.PcdBootLoaderEntry         
|0xFFFFFFE4|UINT32|0x46530100
+  gIntelFspPkgTokenSpaceGuid.PcdBootLoaderEntry         
|0xFFFFFFE4|UINT32|0x46530100
\ No newline at end of file
diff --git a/IntelFspPkg/IntelFspPkg.dsc b/IntelFspPkg/IntelFspPkg.dsc
index f3b5689..c71bce8 100644
--- a/IntelFspPkg/IntelFspPkg.dsc
+++ b/IntelFspPkg/IntelFspPkg.dsc
@@ -1,5 +1,5 @@
 ## @file
-# Provides driver and definitions to build fsp in EDKII bios.
+# Provides driver and definitions to build fsp.
 #
 # Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
 # This program and the accompanying materials are licensed and made available 
under
@@ -32,7 +32,8 @@
   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
   
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
 
-  # Dummy - test build only
+  
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
+  
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
   
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
   
DebugDeviceLib|IntelFspPkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
@@ -65,8 +66,10 @@
   IntelFspPkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
   IntelFspPkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
 
-  IntelFspPkg/FspSecCore/FspSecCore.inf
-  IntelFspPkg/FspDxeIpl/FspDxeIpl.inf
+  IntelFspPkg/FspSecCore/FspSecCoreT.inf
+  IntelFspPkg/FspSecCore/FspSecCoreM.inf
+  IntelFspPkg/FspSecCore/FspSecCoreS.inf
+  IntelFspPkg/FspNotifyPhase/FspNotifyPhasePeim.inf
 
 [PcdsFixedAtBuild.common]
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
-- 
2.7.4.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to