* [U-Boot] Controlling write protect pin on SPI flash
@ 2014-12-11 11:12 Andy Pont
0 siblings, 0 replies; 3+ messages in thread
From: Andy Pont @ 2014-12-11 11:12 UTC (permalink / raw)
To: u-boot
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.
Thanks,
Andy.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Controlling write protect pin on SPI flash
[not found] <54897c17.8667c20a.3e09.ffff9b83SMTPIN_ADDED_BROKEN@mx.google.com>
@ 2014-12-12 5:51 ` Simon Glass
0 siblings, 0 replies; 3+ messages in thread
From: Simon Glass @ 2014-12-12 5:51 UTC (permalink / raw)
To: u-boot
Hi,
On Dec 11, 2014 4:12 AM, "Andy Pont" <andy.pont@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.
>
> Thanks,
>
> Andy.
There is an 'sf status' command in the Chromium tree.
Regards,
Simon
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Controlling write protect pin on SPI flash
[not found] <54897c1a.520db50a.1314.0e9fSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2014-12-12 6:14 ` Jagan Teki
0 siblings, 0 replies; 3+ messages in thread
From: Jagan Teki @ 2014-12-12 6:14 UTC (permalink / raw)
To: u-boot
On 11 December 2014 at 16:42, Andy Pont <andy.pont@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-12 6:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 11:12 [U-Boot] Controlling write protect pin on SPI flash Andy Pont
[not found] <54897c17.8667c20a.3e09.ffff9b83SMTPIN_ADDED_BROKEN@mx.google.com>
2014-12-12 5:51 ` Simon Glass
[not found] <54897c1a.520db50a.1314.0e9fSMTPIN_ADDED_BROKEN@mx.google.com>
2014-12-12 6:14 ` Jagan Teki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox