since the squash thingy does not apply cleanly (rebases etc in between), i am posting the current state of my ichspi branch (without the mei stuff).
Stefan Tauner (12): improve macros for SSFS and SSFC bits add pretty printing functions for SSFS+SSFC and the OPCODE struct and use them add macros and pretty printing for HSFS and HSFC use the max_data_read field of the new spi_programmer struct to simplify run_opcode. warn if SMM BIOS Write Protection is detected in BIOS_CNTL add missing ICH9 register macros and use them to eliminate magic numbers add ICH/PCH flash descriptor decoding simplify ich_set_bbar add macros and pretty printing for "Host Lower Vendor Specific Component Capabilities" registers add FPB (Flash Partition Boundary) macros and init printing add support for Intel Hardware Sequencing add intel 6 series pci ids to chipset_enables
Makefile | 2 +- chipdrivers.h | 6 + chipset_enable.c | 25 +- flashchips.c | 23 +- flashchips.h | 2 + flashrom.c | 6 +- ich_descriptors.c | 453 ++++++++++++++ ich_descriptors.h | 408 +++++++++++++ ichspi.c | 706 ++++++++++++++++++---- programmer.h | 1 + util/ich_descriptors_tool/Makefile | 42 ++ util/ich_descriptors_tool/TODO | 5 + util/ich_descriptors_tool/ich_descriptors_tool.c | 226 +++++++ 13 files changed, 1782 insertions(+), 123 deletions(-) create mode 100644 ich_descriptors.c create mode 100644 ich_descriptors.h create mode 100644 util/ich_descriptors_tool/Makefile create mode 100644 util/ich_descriptors_tool/TODO create mode 100644 util/ich_descriptors_tool/ich_descriptors_tool.c