]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/Sec/Sec.c
Add support for a RELASE build
[mirror_edk2.git] / BeagleBoardPkg / Sec / Sec.c
index 5b4d2946dbef39ab7e031d505e0a28779aac552d..a87ff6d65dc64d1fed27ef2ef6b2bcb0f2fbfa6d 100755 (executable)
@@ -239,7 +239,7 @@ CEntryPoint (
         //
 #ifdef __CC_ARM
         // Print out the command for the RVD debugger to load symbols for this image
-        DEBUG ((EFI_D_ERROR, "load /a /ni /np %a &0x%08x\n", SecDeCygwinPathIfNeeded (FilePath), PeCoffImage + Offset));
+        DEBUG ((EFI_D_ERROR, "load /a /ni /np %a &0x%08x\n", SecDeCygwinPathIfNeeded (FilePath), (CHAR8 *)PeCoffImage + Offset));
 #elif __GNUC__\r
         // This may not work correctly if you generate PE/COFF directlyas then the Offset would not be required
         DEBUG ((EFI_D_ERROR, "add-symbol-file %a 0x%08x\n", FilePath, PeCoffImage + Offset));
@@ -260,6 +260,8 @@ CEntryPoint (
   ExtractGuidedSectionLibConstructor();\r
   LzmaDecompressLibConstructor();\r
 \r
+  DecompressFirstFv ();\r
+\r
   // Load the DXE Core and transfer control to it\r
   LoadDxeCoreFromFv(NULL, 0);\r
   \r