[U-Boot] Controlling write protect pin on SPI flash

Jagan Teki jagannadh.teki at gmail.com
Fri Dec 12 07:14:57 CET 2014


On 11 December 2014 at 16:42, Andy Pont <andy.pont at sdcsystems.com> wrote:
> Hello,
>
> Is there, or is anyone working on, code for controlling the write protect
> pin of SPI flash devices using a GPIO?  In effect an "sf protect <on|off>"
> command?  I have had a look in 2014.07 which is on the platform we are using
> but can't see anything.

Just try this - CONFIG_SYS_SPI_ST_ENABLE_WP_PIN

Heiko has recently added this for hardware protection W#/Vpp signal
I don't know will this helps your requirement of not.

thanks!
-- 
Jagan.


More information about the U-Boot mailing list