[flashrom] [PATCH 0/4] Initial OTP/Security Register infrastructure
Hatim Kanchwala
hatim at hatimak.me
Thu Jul 28 14:15:25 CEST 2016
Hello,
This set of patches should be applied on top of the previous patches (https://www.flashrom.org/pipermail/flashrom/2016-July/014717.html).
Continuing with the major points from the previous mail (linked above), this patch should bring support for new infrastructure to quite a few more chips. OTP models for Eon, GigaDevice and Winbond are supported now. AMIC, Macronix and Spansion OTP models are scheduled for the next revision. I admit that the CLI may not be worded in the most optimum way, but that was a conscious decision so that it could be sorted out while review.
Thank you for your time. I am looking forward to your feedback and having a discussion.
Hatim Kanchwala (4):
WIP: Add support for status register and access protection
infrastructure to more existing chips
OTP/Security Register infrastructure
WIP: Add support for OTP/Security Register infrastructure to existing
chips
Integrate OTP infrastructure and add CLI
Makefile | 5 +-
chipdrivers.h | 23 +++
cli_classic.c | 263 ++++++++++++++++++++++++++++++++--
cli_common.c | 54 +++----
flash.h | 25 +++-
flashchips.c | 296 ++++++++++++++++++++++++--------------
flashrom.8.tmpl | 52 ++++++-
otp.c | 381 +++++++++++++++++++++++++++++++++++++++++++++++++
otp.h | 39 +++++
otp_layouts.c | 229 +++++++++++++++++++++++++++++
spi.h | 20 +++
spi25.c | 73 ++++++++++
spi25_statusreg.h | 6 +
statusreg_layouts.c | 58 +++++++-
writeprotect.h | 13 +-
writeprotect_layouts.c | 269 +++++++++++++++++++++++++++++++++-
16 files changed, 1645 insertions(+), 161 deletions(-)
create mode 100644 otp.c
create mode 100644 otp.h
create mode 100644 otp_layouts.c
--
2.7.4
More information about the flashrom
mailing list