]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/Spi.h
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / SouthCluster / Include / Ppi / Spi.h
diff --git a/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/Spi.h b/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/Spi.h
new file mode 100644 (file)
index 0000000..7c8afec
--- /dev/null
@@ -0,0 +1,48 @@
+/**\r
+**/\r
+/**\r
+\r
+Copyright (c) 2012  - 2014, Intel Corporation. All rights reserved\r
+\r
+  This program and the accompanying materials are licensed and made available under\r
+  the terms and conditions of the BSD License that accompanies this distribution.\r
+  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php.\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+\r
+\r
+  @file\r
+  Spi.h\r
+\r
+  @brief\r
+  This file defines the EFI SPI PPI which implements the\r
+  Intel(R) PCH SPI Host Controller Compatibility Interface.\r
+\r
+**/\r
+#ifndef _PEI_SPI_H_\r
+#define _PEI_SPI_H_\r
+\r
+\r
+#include <Protocol/Spi.h>\r
+\r
+\r
+//\r
+#define PEI_SPI_PPI_GUID \\r
+  { \\r
+    0xa38c6898, 0x2b5c, 0x4ff6, 0x93, 0x26, 0x2e, 0x63, 0x21, 0x2e, 0x56, 0xc2 \\r
+  }\r
+// Extern the GUID for PPI users.\r
+//\r
+extern EFI_GUID           gPeiSpiPpiGuid;\r
+\r
+///\r
+/// Reuse the EFI_SPI_PROTOCOL definitions\r
+/// This is possible becaues the PPI implementation does not rely on a PeiService pointer,\r
+/// as it uses EDKII Glue Lib to do IO accesses\r
+///\r
+typedef EFI_SPI_PROTOCOL  PEI_SPI_PPI;\r
+\r
+#endif\r