Zerocat Chipflasher  v0.4.3 (board-edition-1)
Flash free firmware to BIOS chips, kick the Manageability Engine.
SPI-flash-bits.h
Go to the documentation of this file.
1 /******************************************************************/
30 #ifndef __SPI_FLASH_BITS_H__
31 #define __SPI_FLASH_BITS_H__
32 
33 //Status Register Bits, most common, but names may vary.
34 #define SRWD 0x80
35 #define CPM 0x40
36 #define BP3 0x20
37 #define BP2 0x10
38 #define BP1 0x08
39 #define BP0 0x04
40 #define WEL 0x02
41 #define WIP 0x01
42 
43 //Security Register on some Macronix Types
44 #define SOTPI 0x01
45 #define LDSO 0x02
46 
47 #endif
48 /* __SPI_FLASH_BITS_H__ */