[PATCH] mtd: spi-nor: Clear Winbond SR3 WPS bit on boot
Jagan Teki
jagan at amarulasolutions.com
Fri May 24 18:05:21 CEST 2024
On Mon, Mar 4, 2024 at 9:46 PM Marek Vasut <marex at denx.de> wrote:
>
> Some Winbond SPI NORs have special SR3 register which is
> used among other things to control whether non-standard
> "Individual Block/Sector Write Protection" (WPS bit)
> locking scheme is activated. This non-standard locking
> scheme is not supported by either U-Boot or Linux SPI
> NOR stack so make sure it is disabled, otherwise the
> SPI NOR may appear locked for no obvious reason.
>
> This SR3 WPS appears e.g. on W25Q16FW which has the same ID as
> W25Q16DW, but the W25Q16DW does not implement the SR3 WPS bit.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
Applied to u-boot-spi/master
More information about the U-Boot
mailing list