Skip to content

Commit 67ffd4d

Browse files
committed
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 <[email protected]>
1 parent 619f4e9 commit 67ffd4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/flash/spi_nor.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
#define SPI_NOR_CMD_WREN 0x06 /* Write enable */
3131
#define SPI_NOR_CMD_WRDI 0x04 /* Write disable */
3232
#define SPI_NOR_CMD_PP 0x02 /* Page program */
33-
#define SPI_NOR_CMD_4PP 0x38 /* Page program (1-4-4) */
33+
#define SPI_NOR_CMD_PP_1_1_4 0x32 /* Quad Page program (1-1-4) */
34+
#define SPI_NOR_CMD_PP_1_4_4 0x38 /* Quad Page program (1-4-4) */
3435
#define SPI_NOR_CMD_RDCR 0x15 /* Read control register */
3536
#define SPI_NOR_CMD_SE 0x20 /* Sector erase */
3637
#define SPI_NOR_CMD_BE_32K 0x52 /* Block erase 32KB */

0 commit comments

Comments
 (0)