[flashrom] [PATCH] ichspi: ignore bogus FREGs.

Justin Bogner mail at justinbogner.com
Sat Jul 28 21:34:17 CEST 2012


Stefan Tauner <stefan.tauner at student.tuwien.ac.at> writes:
> Some vendors forget to disable regions properly and set their FRAP bits
> and FREG to 0. While not documented publicly this is being ignored by the
> chipset(s)[1] and hence flashrom should do so too. Without this patch
> flashrom prints a warning and disables writes.
> The check for i (region index) excludes the descriptor region which should
> not be becessary because specs suggest that the descriptor region should not
> be locked, but if vendors would follow the specs this patch would not have
> been necessary in the first place.
>
> [1]: http://www.flashrom.org/pipermail/flashrom/2012-May/009303.html
>
> Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
> ---
> Justin, you could help testing this patch by applying it to the latest
> development source from http://flashrom.org/Downloads and sending us
> the flashrom output as before.

I'll try this out in the next week or so. Thanks for looking into this.




More information about the flashrom mailing list