Install Platform EFI_PEI_RECOVERY_MODULE_PPI and Implementation of\r
EFI_PEI_LOAD_RECOVERY_CAPSULE service.\r
\r
-Copyright (c) 2013-2016 Intel Corporation.\r
+Copyright (c) 2013-2019 Intel Corporation.\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
//\r
if (ProviderAvailable) {\r
RecoveryCapsuleSize = 0;\r
- if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {\r
- Status = DeviceRecoveryModule->GetRecoveryCapsuleInfo (\r
- PeiServices,\r
- DeviceRecoveryModule,\r
- 0,\r
- &RecoveryCapsuleSize,\r
- &DeviceId\r
- );\r
- } else {\r
- Status = DeviceRecoveryModule->GetRecoveryCapsuleInfo (\r
- PeiServices,\r
- DeviceRecoveryModule,\r
- 1,\r
- &RecoveryCapsuleSize,\r
- &DeviceId\r
- );\r
-\r
-\r
- }\r
+ Status = DeviceRecoveryModule->GetRecoveryCapsuleInfo (\r
+ PeiServices,\r
+ DeviceRecoveryModule,\r
+ 1,\r
+ &RecoveryCapsuleSize,\r
+ &DeviceId\r
+ );\r
\r
if (EFI_ERROR (Status)) {\r
return Status;\r
ASSERT (Address);\r
\r
Buffer = (UINT8 *) (UINTN) Address;\r
- if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {\r
- Status = DeviceRecoveryModule->LoadRecoveryCapsule (\r
- PeiServices,\r
- DeviceRecoveryModule,\r
- 0,\r
- Buffer\r
- );\r
- } else {\r
- Status = DeviceRecoveryModule->LoadRecoveryCapsule (\r
- PeiServices,\r
- DeviceRecoveryModule,\r
- 1,\r
- Buffer\r
- );\r
-\r
- }\r
+ Status = DeviceRecoveryModule->LoadRecoveryCapsule (\r
+ PeiServices,\r
+ DeviceRecoveryModule,\r
+ 1,\r
+ Buffer\r
+ );\r
\r
DEBUG ((EFI_D_INFO | EFI_D_LOAD, "LoadRecoveryCapsule Returns: %r\n", Status));\r
\r
# memory specific stuff like build memory map, build\r
# resource description hob for DXE phase,etc.\r
# Bootmode.c - Detect boot mode.\r
-# Copyright (c) 2013 - 2016 Intel Corporation.\r
+# Copyright (c) 2013 - 2019 Intel Corporation.\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryOnDataCD\r
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryOnFatFloppyDisk\r
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryOnIdeDisk\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport\r
gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError\r
\r
[Pcd]\r