
13 Nov
2015
13 Nov
'15
3:47 p.m.
On Fri, Nov 13, 2015 at 02:46:26AM -0800, Bin Meng wrote:
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
Applied to u-boot/master, thanks!
--
Tom