]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/MdePkg.dec
MdePkg: Add definitions for the SPI protocols introduced in PI 1.6.
authorMarvin.Haeuser@outlook.com <Marvin.Haeuser@outlook.com>
Tue, 31 Oct 2017 00:12:22 +0000 (08:12 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 13 Nov 2017 02:34:06 +0000 (10:34 +0800)
commitdb04b706b7326da7292bfe313cf3cd05ca3d5e11
tree178a34df56c02adf3ab72265930a754128070ee6
parent7e2a8dfe8a9a6771d68345ed7e43a923e853c36e
MdePkg: Add definitions for the SPI protocols introduced in PI 1.6.

This commit adds header files for the SPI protocols introduced in the
UEFI PI 1.6 specification, as well as their GUIDs to MdePkg.dec.

EFI_SPI_TRANSACTION_TYPE assumes an enum with its members ordered the
way they are listed in the specification, as there are no values given
explicitely.
EFI_LEGACY_SPI_CONTROLLER_GUID assumes the character 'l' used in the
specification was meant to be '1'.

V2:
- Fixed LegacySpiFlash.h's header guard.
- Fixed LegacySpiSmmController's GUID name.
- Removed EFI_SPI_NOR_FLASH_PROTOCOL_LF_READ_DATA as it's unused.
- Added the missing SpiSmmNorFlash header.
- Fixed all file endings to be CRLF.
- Removed trailing whitespaces.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
12 files changed:
MdePkg/Include/Protocol/LegacySpiController.h [new file with mode: 0644]
MdePkg/Include/Protocol/LegacySpiFlash.h [new file with mode: 0644]
MdePkg/Include/Protocol/LegacySpiSmmController.h [new file with mode: 0644]
MdePkg/Include/Protocol/LegacySpiSmmFlash.h [new file with mode: 0644]
MdePkg/Include/Protocol/SpiConfiguration.h [new file with mode: 0644]
MdePkg/Include/Protocol/SpiHc.h [new file with mode: 0644]
MdePkg/Include/Protocol/SpiIo.h [new file with mode: 0644]
MdePkg/Include/Protocol/SpiNorFlash.h [new file with mode: 0644]
MdePkg/Include/Protocol/SpiSmmConfiguration.h [new file with mode: 0644]
MdePkg/Include/Protocol/SpiSmmHc.h [new file with mode: 0644]
MdePkg/Include/Protocol/SpiSmmNorFlash.h [new file with mode: 0644]
MdePkg/MdePkg.dec