u-boot-brain/drivers/mtd/spi
Bin Meng 439fcb9b4f sf: Fix NULL pointer exception for flashes without lock methods
commit c3c016c "sf: Add SPI NOR protection mechanism" introduced
flash_lock()/flash_unlock()/flash_is_locked() methods for SPI flash,
but not every flash driver supplies these. We should test these
methods against NULL before actually calling them.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
2015-11-13 09:47:22 -05:00
..
eeprom_m95xxx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_espi_spl.c driver: Add support of image load for MMC & SPI in SPL 2014-04-22 17:58:50 -07:00
Kconfig sf: Make 4K sector support configurable 2015-08-17 15:59:48 +05:30
Makefile sf: dataflash: Rename to CONFIG_SPI_FLASH_DATAFLASH 2015-07-01 21:15:04 +05:30
sandbox.c sandbox: spi: Add newline to printf() in sandbox_sf_probe 2015-05-14 18:49:35 -06:00
sf_dataflash.c dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
sf_internal.h sf: Add SPI NOR protection mechanism 2015-11-05 16:47:06 -05:00
sf_mtd.c mtd, spi: Add MTD layer driver 2015-06-30 00:40:11 +05:30
sf_ops.c sf: Fix NULL pointer exception for flashes without lock methods 2015-11-13 09:47:22 -05:00
sf_params.c sf: params: Add IS25LP128 part support 2015-10-25 20:17:03 +05:30
sf_probe.c sf: Add SPI NOR protection mechanism 2015-11-05 16:47:06 -05:00
sf-uclass.c dm: sf: Update default name of spi flash in structure udevice 2015-05-06 14:00:35 -06:00
sf.c sf: Add CONFIG_SF_DUAL_FLASH 2014-01-12 21:40:22 +05:30
spi_spl_load.c sf: Tidy up public and private header files 2014-10-22 10:36:50 -06:00