Re: [PATCH v1 1/6] IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib


Chiu, Chasel
 

Thanks Yu!
Reviewed-by: Chasel Chiu <chasel.chiu@...>

-----Original Message-----
From: Pu, Yu <yu.pu@...>
Sent: Friday, April 1, 2022 1:22 PM
To: devel@edk2.groups.io
Cc: Pu, Yu <yu.pu@...>; Chiu, Chasel <chasel.chiu@...>;
Desimone, Nathaniel L <nathaniel.l.desimone@...>; Zeng, Star
<star.zeng@...>
Subject: [PATCH v1 1/6] IntelFsp2Pkg: Add CpuLib to module INFs that
depend on UefiCpuLib

Step 1 to merge UefiCpuLib to CpuLib.

Cc: Chasel Chiu <chasel.chiu@...>
Cc: Nate DeSimone <nathaniel.l.desimone@...>
Cc: Star Zeng <star.zeng@...>
Signed-off-by: Yu Pu <yu.pu@...>
---
IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 1 +
IntelFsp2Pkg/FspSecCore/SecMain.h | 1 +
2 files changed, 2 insertions(+)

diff --git a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
index 7b05cae64130..830471adcf2f 100644
--- a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
+++ b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
@@ -51,6 +51,7 @@
FspSwitchStackLib

FspCommonLib

FspSecPlatformLib

+ CpuLib

UefiCpuLib



[Pcd]

diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h
b/IntelFsp2Pkg/FspSecCore/SecMain.h
index 7794255af13d..edb7447d9eff 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>



--
2.30.0.windows.2

Join {devel@edk2.groups.io to automatically receive all group messages.