]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib
authorYu Pu <yu.pu@intel.com>
Mon, 28 Mar 2022 14:44:47 +0000 (22:44 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 6 May 2022 07:48:15 +0000 (07:48 +0000)
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>
IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
IntelFsp2Pkg/FspSecCore/SecMain.h

index a7fc07dc614a92e7d819d27b7065249c073b1163..f920f1f6d03a246615c13397d41e2fc86e9b60e1 100644 (file)
@@ -58,6 +58,7 @@
   FspSwitchStackLib\r
   FspCommonLib\r
   FspSecPlatformLib\r
+  CpuLib\r
   UefiCpuLib\r
 \r
 [Pcd]\r
index 3dddbbee5ef89fb54aa7251108fb8e4fc6232835..7c2642ad48bbd799b771dc2acac55818fee934e6 100644 (file)
@@ -20,6 +20,7 @@
 #include <Library/SerialPortLib.h>\r
 #include <Library/FspSwitchStackLib.h>\r
 #include <Library/FspCommonLib.h>\r
+#include <Library/CpuLib.h>\r
 #include <Library/UefiCpuLib.h>\r
 #include <FspEas.h>\r
 \r