i did most of this after my at25 patches and merged it with the changes introduced by r1281 now. this stuff is also available in my github repo: https://github.com/stefanct/flashrom/tree/dev_ichspi
Stefan Tauner (6): whitespace (space to tabs mostly) some additional comments for ichspi.c changes macros for SSFS and SSFC bits: - introduce mask macros - add comments - change SSFS_CDS to SSFS_FDONE (abbr. used in datasheet not in SSFS but HSFS) - use those for refactoring and magic number elemination. - following patch uses them for pretty printing add pretty printing functions for SSFS+SSFC and the OPCODE struct and use them improve output in case run_opcode fails introduce a global variable to save the maximum number of bytes in an SPI transaction supported by this programmer and use that to simplify code
ichspi.c | 225 ++++++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 137 insertions(+), 88 deletions(-)