Skip to content

Commit 4442e73

Browse files
committed
drivers: flash: spi_nor: add define for Quad Enable bit
Quad Enable bit is used to enable/disable 4x line IO in SPI. Signed-off-by: Marcin Szymczyk <[email protected]>
1 parent 3f03b4a commit 4442e73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/flash/spi_nor.h

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
/* Status register bits */
1515
#define SPI_NOR_WIP_BIT BIT(0) /* Write in progress */
1616
#define SPI_NOR_WEL_BIT BIT(1) /* Write enable latch */
17+
#define SPI_NOR_QE_BIT BIT(6) /* Quad enable */
1718

1819
/* Flash opcodes */
1920
#define SPI_NOR_CMD_WRSR 0x01 /* Write status register */

0 commit comments

Comments
 (0)