u-boot/drivers/mtd/spi
Simon Glass 28afcb1e7f sf: Guard against zero erasesize
With tiny SPI flash the erasesize is 0 which can cause a divide-by-zero
error. Check for this and return a proper error instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2023-05-11 10:25:29 +08:00
..
fsl_espi_spl.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
Kconfig bootstd: Add a SPI flash bootdev 2023-01-23 18:11:41 -05:00
Makefile bootstd: Add a SPI flash bootdev 2023-01-23 18:11:41 -05:00
sandbox.c sandbox: spi: sandbox_sf_process_cmd() missing fallthrough 2023-04-28 11:30:17 -06:00
sf-uclass.c bootstd: Add a SPI flash bootdev 2023-01-23 18:11:41 -05:00
sf_bootdev.c bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
sf_dataflash.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
sf_internal.h mtd: spi-nor-core: Add support for DTR protocol 2021-06-28 12:00:32 +05:30
sf_mtd.c Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
sf_probe.c sf: Guard against zero erasesize 2023-05-11 10:25:29 +08:00
spi-nor-core.c mtd: spi-nor-core: Add fixups for s25fs512s 2023-04-26 13:32:45 +05:30
spi-nor-ids.c Xilinx chnages for v2023.04-rc1 2023-01-27 10:15:39 -05:00
spi-nor-tiny.c mtd: spi-nor-tiny: Add fixups for Cypress s25hl-t/s25hs-t 2021-06-29 19:16:54 +05:30