drivers: falsh: spi_nor: add PP_1_1_4 and rename 4PP
* Renames 4PP define to PP_1_4_4 * Adds PP_1_1_4 define That matches linux kernel defines a bit more. Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
This commit is contained in:
parent
78ecf65267
commit
22c8022b54
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@
|
|||
#define SPI_NOR_CMD_WREN 0x06 /* Write enable */
|
||||
#define SPI_NOR_CMD_WRDI 0x04 /* Write disable */
|
||||
#define SPI_NOR_CMD_PP 0x02 /* Page program */
|
||||
#define SPI_NOR_CMD_4PP 0x38 /* Page program (1-4-4) */
|
||||
#define SPI_NOR_CMD_PP_1_1_4 0x32 /* Quad Page program (1-1-4) */
|
||||
#define SPI_NOR_CMD_PP_1_4_4 0x38 /* Quad Page program (1-4-4) */
|
||||
#define SPI_NOR_CMD_RDCR 0x15 /* Read control register */
|
||||
#define SPI_NOR_CMD_SE 0x20 /* Sector erase */
|
||||
#define SPI_NOR_CMD_BE_32K 0x52 /* Block erase 32KB */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue