Driver for serial NOR flash memory technology devices attached via SPI.
| ||Interface definition for the serial flash memory driver. |
|#define ||JEDEC_NEXT_BANK (0x7f)|
| ||Byte to signal increment bank number when reading manufacturer ID. More...|
#define ||SPI_NOR_F_SECT_4K (1)|
| ||Flag to set when the device support 4KiB sector erase (sector_erase opcode) |
#define ||SPI_NOR_F_SECT_32K (2)|
| ||Flag to set when the device support 32KiB block erase (block_erase_32k opcode) |
|#define JEDEC_NEXT_BANK (0x7f)
The numbers were taken from Micron M25P16, but the same opcodes can be found in Macronix MX25L25735E, and multiple other data sheets for different devices, as well as in the Linux kernel, so they seem quite sensible for default values.