diff options
author | zwei4 <david.wei@intel.com> | 2017-03-10 16:00:56 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-05-09 13:03:11 +0800 |
commit | 03ef874676a3bf61581996bcf3d8ded1866ddc05 (patch) | |
tree | da9d38fb39b562200e6010f3091539800b005e6a /Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/Library | |
parent | 61e5cdf388f8c748fef3d5f5af82640fa79cc4c5 (diff) | |
download | edk2-platforms-03ef874676a3bf61581996bcf3d8ded1866ddc05.tar.xz |
Add PEI SPI library.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/Library')
-rw-r--r-- | Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/Library/PeiSpiInitLib.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/Library/PeiSpiInitLib.h b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/Library/PeiSpiInitLib.h new file mode 100644 index 0000000000..628de101e1 --- /dev/null +++ b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/Library/PeiSpiInitLib.h @@ -0,0 +1,35 @@ +/** @file + Prototype of the PeiSpiInitLib library. + + Copyright (c) 2014 - 2017, 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 _PEI_SPI_INIT_LIBRARY_H_ +#define _PEI_SPI_INIT_LIBRARY_H_ + +#include <Ppi/ScPolicy.h> + +/** + Installs SC SPI PPI. + + @param[in] None + + @retval EFI_SUCCESS SC SPI PPI is installed successfully + @retval EFI_OUT_OF_RESOURCES Can't allocate pool +**/ +EFI_STATUS +EFIAPI +InstallScSpi ( + VOID + ); + +#endif |