[edk2-platforms][PATCH V1 1/1] WhitleyOpenBoardPkg/Build: Compress CpuMpPei.inf


Isaac Oram
 

Compressing the CpuMpPei component results in it executing
from cached memory saving significant boot time.

Cc: Nate DeSimone <nathaniel.l.desimone@...>
Cc: Chasel Chiu <chasel.chiu@...>
Signed-off-by: Isaac Oram <isaac.w.oram@...>
---
Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf b/Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf
index b72aa2b688..c63442508b 100644
--- a/Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf
+++ b/Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf
@@ -452,7 +452,7 @@ SET gMinPlatformPkgTokenSpaceGuid.PcdFlashAreaSize = 0x01000000

INF WhitleyOpenBoardPkg/Universal/PeiInterposerToSvidMap/PeiInterposerToSvidMap.inf

- INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
+ INF RuleOverride = LzmaCompress UefiCpuPkg/CpuMpPei/CpuMpPei.inf

!if $(FSP_MODE) == 0
FILE PEIM = 8F7F3D20-9823-42DD-9FF7-53DAC93EF407 {
--
2.36.1.windows.1


Sureshkumar Ponnusamy
 

Thanks Isaac for the fix.


Nate DeSimone
 

Reviewed-by: Nate DeSimone <nathaniel.l.desimone@...>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Oram, Isaac W
Sent: Wednesday, May 18, 2022 4:33 PM
To: devel@edk2.groups.io
Cc: Desimone, Nathaniel L <nathaniel.l.desimone@...>; Chiu, Chasel <chasel.chiu@...>
Subject: [edk2-devel][edk2-platforms][PATCH V1 1/1] WhitleyOpenBoardPkg/Build: Compress CpuMpPei.inf

Compressing the CpuMpPei component results in it executing from cached memory saving significant boot time.

Cc: Nate DeSimone <nathaniel.l.desimone@...>
Cc: Chasel Chiu <chasel.chiu@...>
Signed-off-by: Isaac Oram <isaac.w.oram@...>
---
Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf b/Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf
index b72aa2b688..c63442508b 100644
--- a/Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf
+++ b/Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf
@@ -452,7 +452,7 @@ SET gMinPlatformPkgTokenSpaceGuid.PcdFlashAreaSize = 0x01000000

INF WhitleyOpenBoardPkg/Universal/PeiInterposerToSvidMap/PeiInterposerToSvidMap.inf

- INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
+ INF RuleOverride = LzmaCompress UefiCpuPkg/CpuMpPei/CpuMpPei.inf

!if $(FSP_MODE) == 0
FILE PEIM = 8F7F3D20-9823-42DD-9FF7-53DAC93EF407 {
--
2.36.1.windows.1