[PATCH] mtd: spi-nor: Send write disable cmd after every write enable

Tom Rini trini at konsulko.com
Wed May 7 00:02:57 CEST 2025


On Tue, 19 Nov 2024 12:09:18 +0530, Venkatesh Yadav Abbarapu wrote:

> Write enable(06h) command will be sent to a flash device to
> set the write enable latch bit before every program, erase,
> write command. After that write disable command (04h) needs
> to be sent to clear the write enable latch.
> 
> This write_disable() is missing at the majority of the places
> in the driver, add it to clear write enable latch.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] mtd: spi-nor: Send write disable cmd after every write enable
      commit: 46b3580c59466563bd26aa6aec1f15a8adf5dd5f
-- 
Tom




More information about the U-Boot mailing list