this is based on my makefile patch "Makefile: fix and simplify test program compilations" not sure if it applies without that. 2/6 and 3/6 are new; 4/6 and 5/6 are ~unchanged iirc 1/6 was modified based on carldani's review 6/6 got also a few improvements
Stefan Tauner (6): ichspi: add ICH/PCH flash descriptor decoding via FDOC/FDOD ichspi: disable writes when locked or read-only regions are detected ichspi: don't touch the nonexistent(?) BBAR register on ICH8 ichspi: improve prettyprint_opcodes ichspi: add support for Intel Hardware Sequencing Add ich_descriptor_tool to decode all flash descriptors stored in a flash dump file
Makefile | 22 +- chipdrivers.h | 6 + flashchips.c | 23 +- flashchips.h | 2 + ich_descriptors.c | 722 ++++++++++++++++++++++ ich_descriptors.h | 466 ++++++++++++++ ichspi.c | 461 +++++++++++++-- programmer.h | 1 + util/ich_descriptors_tool/Makefile | 42 ++ util/ich_descriptors_tool/TODO | 6 + util/ich_descriptors_tool/ich_descriptors_tool.c | 225 +++++++ 11 files changed, 1938 insertions(+), 38 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