
24 Apr
2015
24 Apr
'15
5:35 a.m.
On 23 April 2015 at 03:00, Bin Meng bmeng.cn@gmail.com wrote:
With SPI flash moving to driver model, commit fbb0991 "dm: Convert spi_flash_probe() and 'sf probe' to use driver model" ignored the SST flash-specific write op (byte program & word program), which actually broke the SST flash from wroking.
This commit makes SST flash work again under driver model, by adding a new SST flash-specific driver to handle the different write op from the standard one.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
drivers/mtd/spi/sf_probe.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org