u-boot/drivers/mtd/spi
Vignesh Raghavendra cb56caacf8 mtd: spi-nor-core: Fix static checker warnings
Static checker warns 'ret' variable may be used uninitialized in
spi_nor_erase() and spi_nor_write() in case of zero length requests.
Fix these warnings by checking for zero length requests and returning
early.

Reported-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2019-12-27 17:47:26 +05:30
..
fsl_espi_spl.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -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 mtd: spi: Switch to new SPI NOR framework 2019-02-07 15:33:21 +05:30
sf-uclass.c spl: Allow tiny printf() to be controlled in SPL and TPL 2019-10-08 13:57:45 +08:00
sf_dataflash.c mtd: spi_dataflash: Use spi read then write 2019-09-16 08:09:22 +05:30
sf_internal.h mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD 2019-10-25 00:48:32 +05:30
sf_mtd.c mtd: sf: Make sf_mtd.c more robust 2018-12-06 00:45:36 +05:30
sf_probe.c mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD 2019-10-25 00:48:32 +05:30
spi-nor-core.c mtd: spi-nor-core: Fix static checker warnings 2019-12-27 17:47:26 +05:30
spi-nor-ids.c mtd: spi-nor: ids: Add GigaDevice gd25q128 2019-12-18 20:05:40 +05:30
spi-nor-tiny.c mtd: spi: Add lightweight SPI flash stack for SPL 2019-02-07 15:33:21 +05:30