From 03ef874676a3bf61581996bcf3d8ded1866ddc05 Mon Sep 17 00:00:00 2001 From: zwei4 Date: Fri, 10 Mar 2017 16:00:56 +0800 Subject: Add PEI SPI library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: zwei4 --- .../SouthCluster/Include/Library/PeiSpiInitLib.h | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/Library/PeiSpiInitLib.h (limited to 'Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/Library') 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.
+ + 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 + +/** + 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 -- cgit v1.2.3