[flashrom] [PATCH] Allow programmers to disallow writes
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Sat Jul 3 14:16:54 CEST 2010
On 03.07.2010 14:13, Carl-Daniel Hailfinger wrote:
> On 02.07.2010 04:10, Carl-Daniel Hailfinger wrote:
>
>> On 01.07.2010 18:10, Michael Karcher wrote:
>>> This patch (and a patch dynamically initializing the variable at said
>>> point in code) are
>>> Acked-by: Michael Karcher <flashrom at mkarcher.dialup.fu-berlin.de>
> New version. The variable is still global, but it is set on programmer_init.
>
> If a programmer has untested or non-working write/erase code, but
> probing/reading works, it makes sense to protect the user against
> write/erase accidents.
> This feature will be used by the Nvidia MCP SPI code, and it also might
> make sense for the gfxnvidia driver which has non-working write/erase.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>
I reused your ack and committed in r1069.
Thanks for the review.
Regards,
Car-Daniel
--
http://www.hailfinger.org/
More information about the flashrom
mailing list