spi: add config option to enable the WP pin function on st micron flashes
authorHeiko Schocher <hs@denx.de>
Fri, 18 Jul 2014 04:07:21 +0000 (06:07 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 23 Jul 2014 10:26:45 +0000 (12:26 +0200)
commit562f8df18da62ae02c4ace1e530451fe82c3312d
treef3ac604fb5cc1a3865a91a99763f3d855c19bd4f
parenta0ae0091d783b1140f8d321d8c6d221aeb0d39d0
spi: add config option to enable the WP pin function on st micron flashes

enable the W#/Vpp signal to disable writing to the status
register on ST MICRON flashes like the N25Q128 thorugh
the new config option CONFIG_SYS_SPI_ST_ENABLE_WP_PIN

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
README
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_probe.c