sf: probe: Add support for SST_WP
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Wed, 2 Oct 2013 14:04:53 +0000 (19:34 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 7 Oct 2013 12:25:44 +0000 (17:55 +0530)
commit10ca45d005a96e810b5a225b08135fc24da62ee9
treeddf3ca44cc5aa8e4737f1d6b36b6837195fc7faf
parentb7797422e3c749a323a703e90004656b288a5dca
sf: probe: Add support for SST_WP

Most of the SST flashes needs to write up using SST_WP, AAI
Word Program, so added a flag param on spi_flash_params table.

SST flashes, which supports SST_WP need to use a WP write
sst_write_wp instead of common flash write.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/spi_flash_internal.h
drivers/mtd/spi/spi_flash_ops.c
drivers/mtd/spi/spi_flash_probe.c
include/spi_flash.h