\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