[flashrom] [PATCH 11b/11] add support for Intel Hardware Sequencing

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Sun Jun 5 09:00:34 CEST 2011


yay, i have found a way around the const flashchips array.
the common/general probing function that loops around the chips array
actually does not use the chips form that array directly but copies
each to a local non-const(!) buffer and calls the probing function
with it as a non-const parameter. so we are free to modify the
flashchip struct in the probing function.
and this is exactly what i do. i set the total_size and the first
eraser in ich_hwseq_probe accordingly to the values found in the
registers (derived from the descriptors). this way we can even support
dual-chip configurations easily (which i have also added).
i think this is almost mergeable. it's probably easier to review this
one squashed/combined with the original 11 version, especially if you
did not look at that one before.

we still need someone test this on real (recoverable) hardware
though. :(
-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-squash!-add-support-for-Intel-Hardware-Sequencing.patch
Type: text/x-patch
Size: 13138 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20110605/80969d96/attachment.patch>


More information about the flashrom mailing list