summaryrefslogtreecommitdiff
path: root/BeagleBoardPkg/Sec/Sec.c
diff options
context:
space:
mode:
Diffstat (limited to 'BeagleBoardPkg/Sec/Sec.c')
-rwxr-xr-xBeagleBoardPkg/Sec/Sec.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/BeagleBoardPkg/Sec/Sec.c b/BeagleBoardPkg/Sec/Sec.c
index a87ff6d65d..448a713f4d 100755
--- a/BeagleBoardPkg/Sec/Sec.c
+++ b/BeagleBoardPkg/Sec/Sec.c
@@ -24,9 +24,11 @@
#include <Library/PeCoffGetEntryPointLib.h>
#include <Ppi/GuidedSectionExtraction.h>
-
+#include <Guid/LzmaDecompress.h>
#include <Omap3530/Omap3530.h>
+#include "LzmaDecompress.h"
+
VOID
EFIAPI
_ModuleEntryPoint(
@@ -260,6 +262,16 @@ CEntryPoint (
ExtractGuidedSectionLibConstructor();
LzmaDecompressLibConstructor();
+ // Build HOBs to pass up our version of stuff the DXE Core needs to save space
+#if 0
+ BuildPeCoffLoaderHob ();
+ BuildExtractSectionHob (
+ &gLzmaCustomDecompressGuid,
+ LzmaGuidedSectionGetInfo,
+ LzmaGuidedSectionExtraction
+ );
+#endif
+
DecompressFirstFv ();
// Load the DXE Core and transfer control to it