sf: probe: Add support for erase sector selection flag
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Wed, 2 Oct 2013 14:06:58 +0000 (19:36 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 7 Oct 2013 12:25:45 +0000 (17:55 +0530)
commitf4f51a8ff894d34eb332f0d11f6c73c7bf509848
tree1aecd828a6cba2041187bd8355d808d1998a3edb
parent54024c15668ec5e8c261536e9bbc9d22dd01f3e6
sf: probe: Add support for erase sector selection flag

SECT_4K, SECT_32K and SECT_64K opeartions are performed to
to specific flash by adding a SECT* flag on respective
spi_flash_params.flag param.

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