]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/Spi.h
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[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 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9
10
11 @file
12 Spi.h
13
14 @brief
15 This file defines the EFI SPI PPI which implements the
16 Intel(R) PCH SPI Host Controller Compatibility Interface.
17
18 **/
19 #ifndef _PEI_SPI_H_
20 #define _PEI_SPI_H_
21
22
23 #include <Protocol/Spi.h>
24
25
26 //
27 #define PEI_SPI_PPI_GUID \
28 { \
29 0xa38c6898, 0x2b5c, 0x4ff6, 0x93, 0x26, 0x2e, 0x63, 0x21, 0x2e, 0x56, 0xc2 \
30 }
31 // Extern the GUID for PPI users.
32 //
33 extern EFI_GUID gPeiSpiPpiGuid;
34
35 ///
36 /// Reuse the EFI_SPI_PROTOCOL definitions
37 /// This is possible becaues the PPI implementation does not rely on a PeiService pointer,
38 /// as it uses EDKII Glue Lib to do IO accesses
39 ///
40 typedef EFI_SPI_PROTOCOL PEI_SPI_PPI;
41
42 #endif