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