summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
diff options
context:
space:
mode:
authorDong, Eric <eric.dong@intel.com>2020-06-27 09:51:32 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-06-29 02:13:50 +0000
commit0060e0a694f3f249c3ec081b0e61287c36f64ebb (patch)
tree80842f83e7dedf857d9d5049a1a01d36987c8e39 /IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
parent654dc3ed852aafa126e9d539b7002db348dd6eb0 (diff)
downloadedk2-0060e0a694f3f249c3ec081b0e61287c36f64ebb.tar.gz
edk2-0060e0a694f3f249c3ec081b0e61287c36f64ebb.tar.bz2
edk2-0060e0a694f3f249c3ec081b0e61287c36f64ebb.zip
IntelFsp2Pkg/FspSecCore: Use UefiCpuLib.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2825 UefiCpuLib has API InitializeFloatingPointUnits. Remove internal copy of InitializeFloatingPointUnits in FspSecCoreM, use UefiCpuLib API. This change also avoid later potential conflict when use UefiCpuLib for FspSecCoreM module. Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf')
-rw-r--r--IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf3
1 files changed, 2 insertions, 1 deletions
diff --git a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
index 25f2a109ab..61b7ddca4c 100644
--- a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
+++ b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
@@ -29,7 +29,6 @@
[Sources.IA32]
Ia32/Stack.nasm
- Ia32/InitializeFpu.nasm
Ia32/FspApiEntryM.nasm
Ia32/FspApiEntryCommon.nasm
Ia32/FspHelper.nasm
@@ -41,6 +40,7 @@
[Packages]
MdePkg/MdePkg.dec
IntelFsp2Pkg/IntelFsp2Pkg.dec
+ UefiCpuPkg/UefiCpuPkg.dec
[LibraryClasses]
BaseMemoryLib
@@ -51,6 +51,7 @@
FspSwitchStackLib
FspCommonLib
FspSecPlatformLib
+ UefiCpuLib
[Pcd]
gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamBase ## CONSUMES