sf: probe: Add support to clear flash BP# bits
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Thu, 26 Sep 2013 07:46:45 +0000 (13:16 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 7 Oct 2013 12:25:44 +0000 (17:55 +0530)
commit54024c15668ec5e8c261536e9bbc9d22dd01f3e6
tree7a1724f79b20b1487c3c74b14d8655be77ce6084
parent10ca45d005a96e810b5a225b08135fc24da62ee9
sf: probe: Add support to clear flash BP# bits

Few of the flashes(Atmel, Macronix and SST) require to
clear BP# bits in flash power ups.

So clear these BP# bits at probe time, so-that the flash
is ready for user operations.

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