summaryrefslogtreecommitdiff
path: root/Platform/Marvell/Include/Protocol/SpiFlash.h
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/Marvell/Include/Protocol/SpiFlash.h')
-rw-r--r--Platform/Marvell/Include/Protocol/SpiFlash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Platform/Marvell/Include/Protocol/SpiFlash.h b/Platform/Marvell/Include/Protocol/SpiFlash.h
index 743bb87553..f65a12d188 100644
--- a/Platform/Marvell/Include/Protocol/SpiFlash.h
+++ b/Platform/Marvell/Include/Protocol/SpiFlash.h
@@ -47,6 +47,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define CMD_ERASE_64K 0xd8
#define CMD_4B_ADDR_ENABLE 0xb7
+#define NOR_FLASH_MAX_ID_LEN 6
+
extern EFI_GUID gMarvellSpiFlashProtocolGuid;
typedef struct _MARVELL_SPI_FLASH_PROTOCOL MARVELL_SPI_FLASH_PROTOCOL;