[flashrom] enum test_state value for "depends"

Stefan Tauner stefan.tauner at alumni.tuwien.ac.at
Fri May 9 18:33:11 CEST 2014


The following two patches include the new states in enum test_state and
change the previous .tested field in struct flashchip to a sub-struct
containing 4 enum test_state (one for each operation).

Both are semantically the same. The difference is that one renames
the .tested field of the struct to .state which helped a lot during
development of the patch, while the other one does simply replace the
old semantics of .tested without renaming it. The patch w/o the rename
is easier to read and much smaller, but it might be useful to change
the field and associated macros nevertheless to have a clear indication
of the change and to clearly distinguish patches following the old
style from newer ones.

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-NO_RENAME-Add-two-new-states-to-enum-test_state-and-use-it-for.patch
Type: text/x-patch
Size: 139430 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20140509/2e8a0f5f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RENAME-Add-two-new-states-to-enum-test_state-and-use-it-for.patch
Type: text/x-patch
Size: 12919 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20140509/2e8a0f5f/attachment-0001.patch>


More information about the flashrom mailing list