[PATCH] mtd: spi-nor: Clear Winbond SR3 WPS bit on boot

Jagan Teki jagan at amarulasolutions.com
Fri Aug 30 15:36:01 CEST 2024


On Sun, Aug 25, 2024 at 5:58 AM Marek Vasut <marex at denx.de> wrote:
>
> On 5/24/24 6:05 PM, Jagan Teki wrote:
> > 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
>
> I do not see this patch in u-boot/master , was it missed ?

I missed it, I will send it as part of PR soon.

Jagan.


More information about the U-Boot mailing list