Subrata Banik | 20fe24b | 2021-12-09 02:46:38 +0530 | [diff] [blame] | 1 | /** @file |
| 2 | This file defines the SPI SMM NOR Flash Protocol. |
| 3 | |
| 4 | Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> |
| 5 | SPDX-License-Identifier: BSD-2-Clause-Patent |
| 6 | |
| 7 | @par Revision Reference: |
| 8 | This Protocol was introduced in UEFI PI Specification 1.6. |
| 9 | |
| 10 | **/ |
| 11 | |
| 12 | #ifndef __SPI_SMM_NOR_FLASH_PROTOCOL_H__ |
| 13 | #define __SPI_SMM_NOR_FLASH_PROTOCOL_H__ |
| 14 | |
| 15 | #include <Protocol/SpiNorFlash.h> |
| 16 | |
| 17 | /// |
| 18 | /// Global ID for the SPI SMM NOR Flash Protocol |
| 19 | /// |
| 20 | #define EFI_SPI_SMM_NOR_FLASH_PROTOCOL_GUID \ |
| 21 | { 0xaab18f19, 0xfe14, 0x4666, \ |
| 22 | { 0x86, 0x04, 0x87, 0xff, 0x6d, 0x66, 0x2c, 0x9a } } |
| 23 | |
| 24 | typedef |
| 25 | struct _EFI_SPI_NOR_FLASH_PROTOCOL |
| 26 | EFI_SPI_SMM_NOR_FLASH_PROTOCOL; |
| 27 | |
| 28 | extern EFI_GUID gEfiSpiSmmNorFlashProtocolGuid; |
| 29 | |
| 30 | #endif // __SPI_SMM_NOR_FLASH_PROTOCOL_H__ |