mtd: spi-nor: Move SR3 WPS bit definition in the correct location
Subsystems (2)
PATCH 1/1 mtd: spi-nor: Move SR3 WPS bit definition in the correct location
Move the SR3 bit definition in the right place. Fix what is likely a rebase artifact. No functional change.
Fixes 215f1d5794c6 ("mtd: spi-nor: Clear Winbond SR3 WPS bit on boot")
Signed-off-by Marek Vasut <[email protected]>
---
Cc: Hai Pham <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Johann Neuhauser <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Takahiro Kuwano <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Venkatesh Yadav Abbarapu <[email protected]>
Cc: Vignesh R <[email protected]>
--- include/linux/mtd/spi-nor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/mtd/spi-nor.h +3 -3
@@ -182,15 +182,15 @@/* Status Register 2 bits. */ #define SR2_QUAD_EN_BIT7 BIT(7) +/* Status Register 3 bits. */ +#define SR3_WPS BIT(2) +/* * Maximum number of flashes that can be connected * in stacked/parallel configuration */ #define SNOR_FLASH_CNT_MAX 2 -/* Status Register 3 bits. */ -#define SR3_WPS BIT(2) -/* For Cypress flash. */ #define SPINOR_OP_RD_ANY_REG 0x65/* Read any register */ #define SPINOR_OP_WR_ANY_REG 0x71/* Write any register */
Signature · 1 line
2.45.2
Quoted 4 lines · Marek Vasut
Move the SR3 bit definition in the right place. Fix what is likely a rebase artifact. No functional change.
Applied to u-boot/master, thanks!
Signature · 1 line
Tom