u-boot-brain/drivers/mtd/spi
Jagan Teki f12f96cfaf sf: Drop spl_flash_get_sw_write_prot
The get_sw_write_prot API is used to get the write-protected
bits of flash by reading the status register and other wards
it's API for reading register bits.

1) This kind of requirement can be achieved using existing
   flash operations and flash locking API calls instead of
   making a separate flash API.
2) Technically there is no real hardware user for this API to
   use in the source tree.
3) Having a flash operations API for simple register read bits
   also make difficult to extend the flash operations.
4) Instead of touching generic code, it is possible to have
   this functionality inside spinor operations in the form of
   flash hooks or fixups for associated flash chips.

Considering all these points, this patch drops the get_sw_write_prot
and associated code bases.

Cc: Simon Glass <sjg@chromium.org>
Cc: Vignesh R <vigneshr@ti.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
2020-06-01 17:55:24 +05:30
..
fsl_espi_spl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
Kconfig mtd: spi: SPI_FLASH_MTD depends on MTD 2019-12-04 17:10:51 -05:00
Makefile mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD 2019-10-25 00:48:32 +05:30
sandbox.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sf_dataflash.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sf_internal.h sf: Drop spl_flash_get_sw_write_prot 2020-06-01 17:55:24 +05:30
sf_mtd.c common: Drop flash.h from common header 2020-05-18 14:53:28 -04:00
sf_probe.c sf: Drop spl_flash_get_sw_write_prot 2020-06-01 17:55:24 +05:30
sf-uclass.c sf: Drop spl_flash_get_sw_write_prot 2020-06-01 17:55:24 +05:30
spi-nor-core.c sf: Drop spl_flash_get_sw_write_prot 2020-06-01 17:55:24 +05:30
spi-nor-ids.c sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array 2020-05-11 01:30:49 +05:30
spi-nor-tiny.c sf: Drop spl_flash_get_sw_write_prot 2020-06-01 17:55:24 +05:30