]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/Spi.h
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / SouthCluster / Include / Ppi / Spi.h
1 /**
2 **/
3 /**
4
5 Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved
6
7 This program and the accompanying materials are licensed and made available under
8 the terms and conditions of the BSD License that accompanies this distribution.
9 The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15
16
17 @file
18 Spi.h
19
20 @brief
21 This file defines the EFI SPI PPI which implements the
22 Intel(R) PCH SPI Host Controller Compatibility Interface.
23
24 **/
25 #ifndef _PEI_SPI_H_
26 #define _PEI_SPI_H_
27
28
29 #include <Protocol/Spi.h>
30
31
32 //
33 #define PEI_SPI_PPI_GUID \
34 { \
35 0xa38c6898, 0x2b5c, 0x4ff6, 0x93, 0x26, 0x2e, 0x63, 0x21, 0x2e, 0x56, 0xc2 \
36 }
37 // Extern the GUID for PPI users.
38 //
39 extern EFI_GUID gPeiSpiPpiGuid;
40
41 ///
42 /// Reuse the EFI_SPI_PROTOCOL definitions
43 /// This is possible becaues the PPI implementation does not rely on a PeiService pointer,
44 /// as it uses EDKII Glue Lib to do IO accesses
45 ///
46 typedef EFI_SPI_PROTOCOL PEI_SPI_PPI;
47
48 #endif