diff options
author | zwei4 <david.wei@intel.com> | 2017-01-09 14:59:23 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-05-09 13:03:07 +0800 |
commit | 3254b31cabbc546daa4f669b3e0c2aa0f89e0129 (patch) | |
tree | 5fa17310ff381b6eaaeea74386d0748878829e67 /Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c | |
parent | 2b0b5250bf957f4266a50307f9903e6f5e7e6557 (diff) | |
download | edk2-platforms-3254b31cabbc546daa4f669b3e0c2aa0f89e0129.tar.xz |
Remove platform policy
Remove silicon platform policy which is not used by any silicon code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
Reviewed-by: Mang Guo <mang.guo@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c index cab3847649..a002bef041 100644 --- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c +++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformPreMemPei/PlatformInitPreMem.c @@ -595,49 +595,6 @@ ScBaseInit ( }
-/**
- This function performs Silicon Policy initialization.
-
- @param[in] FirmwareConfiguration It uses to skip specific policy init that depends
- on the 'FirmwareConfiguration' variable.
-
- @retval EFI_SUCCESS The PPI is installed and initialized.
- @retval EFI ERRORS The PPI is not successfully installed.
- @retval EFI_OUT_OF_RESOURCES Do not have enough resources to initialize the driver
-
-**/
-EFI_STATUS
-EFIAPI
-PeiSiPolicyInit (
- VOID
- )
-{
- EFI_STATUS Status;
- SI_POLICY_PPI *SiPolicyPpi;
-
- //
- // Call SiCreatePolicyDefaults to initialize Silicon Policy structure
- // and get all Intel default policy settings.
- //
- Status = SiCreatePolicyDefaults (&SiPolicyPpi);
- ASSERT_EFI_ERROR (Status);
-
- //
- // Update and override all platform related and customized settings below.
- //
- UpdatePeiSiPolicy (SiPolicyPpi);
-
- //
- // Install SiPolicyPpi.
- // While installed, RC assumes the Policy is ready and finalized. So please
- // update and override any setting before calling this function.
- //
- Status = SiInstallPolicyPpi (SiPolicyPpi);
- ASSERT_EFI_ERROR (Status);
-
- return Status;
-}
-
/**
This function performs SC PreMem Policy initialization.
@@ -1005,8 +962,6 @@ PlatformInitPreMemEntryPoint ( Status = PeiScPreMemPolicyInit (&StartTimerTicker);
ASSERT_EFI_ERROR (Status);
- Status = PeiSiPolicyInit ();
- ASSERT_EFI_ERROR (Status);
if (!ImageInMemory) {
if (GdtDscriptor.Base >= 0xFE000000) {
|