u-boot/drivers/mtd/spi
Venkatesh Yadav Abbarapu 46b3580c59 mtd: spi-nor: Send write disable cmd after every write enable
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.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://gist.github.com/PrasanthBabuMantena/c12f39744de188a9d08cd5ca51dc2a7b
Tested-by: Prasanth Babu Mantena <p-mantena@ti.com>
2025-05-06 13:13:36 -06:00
..
fsl_espi_spl.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig mtd: spi-nor-ids: Add Puya Semiconductor chips description 2024-10-24 18:08:51 +05:30
Makefile global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
sandbox.c spi: spi-uclass: Read chipselect and restrict capabilities 2024-10-09 09:01:54 -06:00
sf_bootdev.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sf_dataflash.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
sf_internal.h drivers: mtd: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
sf_mtd.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sf_probe.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sf-uclass.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
spi-nor-core.c mtd: spi-nor: Send write disable cmd after every write enable 2025-05-06 13:13:36 -06:00
spi-nor-ids.c Merge patch series "Add support for Infineon S28HL256T and S28HL02GT" 2025-04-29 15:27:40 -06:00
spi-nor-tiny.c mtd: spi-nor-tiny: annotate switch/case fallthrough 2025-04-08 16:23:51 -06:00