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/Library/PeiPolicyInitLib | |
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/Library/PeiPolicyInitLib')
4 files changed, 0 insertions, 110 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiPolicyInit.h b/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiPolicyInit.h index 37661ece06..c4bdfb9a0b 100644 --- a/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiPolicyInit.h +++ b/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiPolicyInit.h @@ -19,7 +19,6 @@ #include <PiPei.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
-#include "PeiSiPolicyInit.h"
#include "PeiCpuPolicyInit.h"
#endif
diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiPolicyInitLib.inf b/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiPolicyInitLib.inf index 319684445d..93a10a0332 100644 --- a/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiPolicyInitLib.inf +++ b/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiPolicyInitLib.inf @@ -43,8 +43,6 @@ PeiPolicyInit.h
PeiCpuPolicyInit.c
PeiCpuPolicyInit.h
- PeiSiPolicyInit.c
- PeiSiPolicyInit.h
[Ppis]
gScPcieDeviceTablePpiGuid
diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiSiPolicyInit.c b/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiSiPolicyInit.c deleted file mode 100644 index dac17f1280..0000000000 --- a/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiSiPolicyInit.c +++ /dev/null @@ -1,60 +0,0 @@ -/** @file
- This file is SampleCode for Intel Silicon PEI Policy initialzation.
-
- Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
-
- This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php.
-
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#include "PeiSiPolicyInit.h"
-
-/**
- This function performs Silicon Policy initialzation.
-
- @param[in] FirmwareConfiguration It uses to skip specific policy init that depends
- on the 'FirmwareConfiguration' varaible.
-
- @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 (
- IN UINT8 FirmwareConfiguration
- )
-{
- 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;
-}
-
diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiSiPolicyInit.h b/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiSiPolicyInit.h deleted file mode 100644 index 783421fe8a..0000000000 --- a/Platform/BroxtonPlatformPkg/Common/Library/PeiPolicyInitLib/PeiSiPolicyInit.h +++ /dev/null @@ -1,47 +0,0 @@ -/** @file
- Header file for the PeiSiPolicyInit.
-
- Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
-
- This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php.
-
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#ifndef _SI_POLICY_INIT_PEI_H_
-#define _SI_POLICY_INIT_PEI_H_
-
-#include <Library/DebugLib.h>
-#include <Library/IoLib.h>
-#include <Library/PeiServicesLib.h>
-#include <Library/MemoryAllocationLib.h>
-#include <Library/SiPolicyLib.h>
-#include <Library/PeiSiPolicyUpdateLib.h>
-
-//
-// Functions
-//
-/**
- This function performs Silicon Policy initialzation.
-
- @param[in] FirmwareConfiguration It uses to skip specific policy init that depends
- on the 'FirmwareConfiguration' varaible.
-
- @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 (
- IN UINT8 FirmwareConfiguration
- );
-
-#endif // _SI_POLICY_INIT_PEI_H_
-
|