u-boot/drivers/mtd
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
..
nand spinand: call SPI setup_for_spinand if supported 2025-04-16 19:57:35 -06:00
nvmxip nvmxip: Avoid probing on boot 2024-09-18 13:00:59 -06:00
onenand drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
spi mtd: spi-nor: Send write disable cmd after every write enable 2025-05-06 13:13:36 -06:00
ubi mtd: ubi: Put MTD device after it is not used 2025-05-05 10:15:43 +02:00
ubispl drivers/mtd/ubispl/ubispl.c: Fix error message 2024-11-29 12:59:27 +02:00
altera_qspi.c flash: prefix error codes with FL_ 2024-09-24 13:41:20 -06:00
cfi_flash.c flash: prefix error codes with FL_ 2024-09-24 13:41:20 -06:00
cfi_mtd.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
hbmc-am654.c mtd: HBMC-AM654: Changed syscon API to mux APIs 2024-12-14 09:34:16 -06:00
jedec_flash.c drivers: mtd: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
Kconfig treewide: Replace Maximumm with Maximum in Kconfig symbol description 2025-01-24 14:15:05 -06:00
Makefile global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
mtd_uboot.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mtd-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mtdblock.c drivers: introduce mtdblock abstraction 2024-08-08 09:27:50 +02:00
mtdconcat.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
mtdcore.c nand: Add a watch command 2024-12-17 13:17:41 -06:00
mtdcore.h mtd: move definitions to enlarge their range 2018-09-20 20:10:49 +05:30
mtdpart.c mtd: mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions 2025-04-30 11:13:35 -06:00
renesas_rpc_hf.c mtd: renesas: Fix R-Car spelling 2024-12-11 08:36:24 +01:00
stm32_flash.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stm32_flash.h stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00