summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Pu <yu.pu@intel.com>2022-03-28 22:44:47 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-05-06 07:48:15 +0000
commita63b086e6976953e0224707516af67732a7417c4 (patch)
treec586a78ec8186070fe983bbcf9ca6010d9ca141f
parentd4eef3fe7c0630f68194b1eb31cf6a246e835e37 (diff)
downloadedk2-a63b086e6976953e0224707516af67732a7417c4.tar.gz
edk2-a63b086e6976953e0224707516af67732a7417c4.tar.bz2
edk2-a63b086e6976953e0224707516af67732a7417c4.zip
IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Yu Pu <yu.pu@intel.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
-rw-r--r--IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf1
-rw-r--r--IntelFsp2Pkg/FspSecCore/SecMain.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
index a7fc07dc61..f920f1f6d0 100644
--- a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
+++ b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
@@ -58,6 +58,7 @@
FspSwitchStackLib
FspCommonLib
FspSecPlatformLib
+ CpuLib
UefiCpuLib
[Pcd]
diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h b/IntelFsp2Pkg/FspSecCore/SecMain.h
index 3dddbbee5e..7c2642ad48 100644
--- a/IntelFsp2Pkg/FspSecCore/SecMain.h
+++ b/IntelFsp2Pkg/FspSecCore/SecMain.h
@@ -20,6 +20,7 @@
#include <Library/SerialPortLib.h>
#include <Library/FspSwitchStackLib.h>
#include <Library/FspCommonLib.h>
+#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <FspEas.h>