spi_flash: Add several flash chips HPM(120M) support

This commit is contained in:
Cao Sen Miao
2022-08-23 18:53:37 +08:00
parent b0c38d5392
commit f28f75a46b
11 changed files with 146 additions and 39 deletions

View File

@@ -26,6 +26,7 @@
#define CMD_WRSR2 0x31 /* Not all SPI flash uses this command */
#define CMD_WRSR3 0x11 /* Not all SPI flash uses this command */
#define CMD_WREN 0x06
#define CMD_WRENVSR 0x50 /* Flash write enable for volatile SR bits */
#define CMD_WRDI 0x04
#define CMD_RDSR 0x05
#define CMD_RDSR2 0x35 /* Not all SPI flash uses this command */