Files
u-boot-tk1-som/drivers
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
..
2015-11-02 10:38:00 +09:00
2015-11-12 18:13:19 -05:00
2015-09-02 21:28:23 -06:00
2015-10-22 14:22:22 -04:00
2015-11-12 18:04:12 -05:00
2015-11-12 18:04:12 -05:00
2015-11-05 08:22:21 +01:00
2015-11-06 09:14:12 +08:00
2015-11-12 18:13:19 -05:00
2015-05-26 14:13:12 +02:00
2015-11-12 09:21:07 -07:00
2015-11-06 09:14:12 +08:00
2015-10-23 09:42:28 -06:00
2015-11-05 08:24:42 +01:00
2015-10-12 12:56:32 -04:00