summaryrefslogtreecommitdiff
path: root/Silicon/Intel/IntelSiliconPkg/Include/Ppi/Spi2.h
blob: 55879b36ad0cca7e04a27aa0233eaf21460962a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/** @file
  This file defines the PCH SPI2 PPI which implements the
  Intel(R) PCH SPI Host Controller Compatibility Interface.

  This SPI Protocol differs from the PCH SPI 1 Protocol interface
  primarily by identifying SPI flash regions by GUID instead
  of numeric values.

  Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
  Copyright (c) Microsoft Corporation.<BR>

  SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _PCH_SPI2_PPI_H_
#define _PCH_SPI2_PPI_H_

#include <Protocol/Spi2.h>

//
// Extern the GUID for PPI users.
//
extern EFI_GUID           gPchSpi2PpiGuid;

/**
  Reuse the PCH_SPI2_PROTOCOL definitions
  This is possible because the PPI implementation does not rely on a PeiService pointer,
  as it uses EDKII Glue Lib to do IO accesses
**/
typedef PCH_SPI2_PROTOCOL PCH_SPI2_PPI;

#endif