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