summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/Include
diff options
context:
space:
mode:
authorSatya Yarlagadda <satya.p.yarlagadda@intel.com>2016-07-20 14:49:15 +0800
committerJiewen Yao <jiewen.yao@intel.com>2016-07-23 09:20:04 +0800
commit40bc7509142af30d8befd198afbdeeaa58964234 (patch)
treec4ad09fec7e35ae76533897c9513607128e42bb2 /IntelFsp2Pkg/Include
parentc243b7443213cce5c13389fa61660b8d8cc3c6dd (diff)
downloadedk2-40bc7509142af30d8befd198afbdeeaa58964234.tar.gz
edk2-40bc7509142af30d8befd198afbdeeaa58964234.tar.bz2
edk2-40bc7509142af30d8befd198afbdeeaa58964234.zip
IntelFsp2Pkg: Remove CarBase and CarSize from FSP_GLOBAL_DATA
CarBase and CarSize in Fsp Global data structure are no longer needed as Boot loader doesn't pass them to FSP even in case that BL chooses to skip calling the FspTempRamInit API. In case of FspTempramInit is called, we can use the PCDs to identify the CarBase and Size. Hence we remove the relevant code. Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Satya Yarlagadda <satya.p.yarlagadda@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'IntelFsp2Pkg/Include')
-rw-r--r--IntelFsp2Pkg/Include/FspGlobalData.h2
-rw-r--r--IntelFsp2Pkg/Include/Library/FspCommonLib.h20
2 files changed, 0 insertions, 22 deletions
diff --git a/IntelFsp2Pkg/Include/FspGlobalData.h b/IntelFsp2Pkg/Include/FspGlobalData.h
index a484d16dcc..8ac3199bab 100644
--- a/IntelFsp2Pkg/Include/FspGlobalData.h
+++ b/IntelFsp2Pkg/Include/FspGlobalData.h
@@ -34,8 +34,6 @@ typedef struct {
UINT32 MicrocodeRegionSize;
UINT32 CodeRegionBase;
UINT32 CodeRegionSize;
- UINT32 CarBase;
- UINT32 CarSize;
} FSP_PLAT_DATA;
#define FSP_GLOBAL_DATA_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'D')
diff --git a/IntelFsp2Pkg/Include/Library/FspCommonLib.h b/IntelFsp2Pkg/Include/Library/FspCommonLib.h
index 231f1e44b3..5f7a14b9b2 100644
--- a/IntelFsp2Pkg/Include/Library/FspCommonLib.h
+++ b/IntelFsp2Pkg/Include/Library/FspCommonLib.h
@@ -290,26 +290,6 @@ SetPhaseStatusCode (
);
/**
- This function gets FSP CAR base.
-
-**/
-UINT32
-EFIAPI
-GetFspCarBase (
- VOID
- );
-
-/**
- This function gets FSP CAR size.
-
-**/
-UINT32
-EFIAPI
-GetFspCarSize (
- VOID
- );
-
-/**
This function updates the return status of the FSP API with requested reset type and returns to Boot Loader.
@param[in] FspResetType Reset type that needs to returned as API return status