9#ifndef __NOR_FLASH_ID_LIB_H__
10#define __NOR_FLASH_ID_LIB_H__
14#define NOR_FLASH_MAX_ID_LEN 6
23 UINT8 Id[NOR_FLASH_MAX_ID_LEN];
37 #define NOR_FLASH_ERASE_4K (1 << 0)
38 #define NOR_FLASH_ERASE_32K (1 << 1)
39 #define NOR_FLASH_WRITE_FSR (1 << 2)
40 #define NOR_FLASH_4B_ADDR (1 << 3)
44#define NOR_FLASH_ID_ATMEL 0x1f
45#define NOR_FLASH_ID_EON 0x1c
46#define NOR_FLASH_ID_GIGADEVICE 0xc8
47#define NOR_FLASH_ID_ISSI 0x9d
48#define NOR_FLASH_ID_MACRONIX 0xc2
49#define NOR_FLASH_ID_SPANSION 0x01
50#define NOR_FLASH_ID_STMICRO 0x20
51#define NOR_FLASH_ID_SST 0xbf
52#define NOR_FLASH_ID_WINDBOND 0xef
75 IN BOOLEAN AllocateForRuntime
EFI_STATUS EFIAPI NorFlashGetInfo(IN UINT8 *Id, IN OUT NOR_FLASH_INFO **FlashInfo, IN BOOLEAN AllocateForRuntime)
VOID EFIAPI NorFlashPrintInfo(IN NOR_FLASH_INFO *Info)