]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/PlatformPei/PlatformPei.c
Patch from open source community for CryptoPkg to allow it to build for ARM using...
[mirror_edk2.git] / ArmPlatformPkg / PlatformPei / PlatformPei.c
index a7fa4321c002b93310f0b0e6a2fbe9c8043d48e4..0d901736702170dcd3e6f22998cd8ec8b0bcee44 100644 (file)
@@ -77,12 +77,7 @@ Returns:
   \r
   BuildFvHob (FixedPcdGet32(PcdFlashFvMainBase), FixedPcdGet32(PcdFlashFvMainSize));\r
   \r
-  //\r
-  // Let's assume things are OK if not told otherwise\r
-  // Should we read an environment variable in order to easily change this?\r
-  //\r
-  BootMode  = BOOT_WITH_FULL_CONFIGURATION;\r
-\r
+  BootMode  = ArmPlatformGetBootMode ();\r
   Status    = (**PeiServices).SetBootMode (PeiServices, (UINT8) BootMode);\r
   ASSERT_EFI_ERROR (Status);\r
 \r