[flashrom] [PATCH 0/2] SFDP 2.1

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Wed Dec 28 01:57:00 CET 2011


rebased to current HEAD and changed some verbosity levels.

1/2 reverts some flashctx changes that i feel are unnecessary and complicate
the SFDP patch. flashctx is to be used where the data in flashchip does not
suffice. this is not the case with the eraser checking functions (and probably
others which i did not touch (yet)) and it is easier to "upcast" some flashctx
"objects" to flashchip (which is safe) than the other way round, which would
require to allocate/copy stuff into a flashctx "object" (to be safe).

Stefan Tauner (2):
  revert flashctx to flashchip in block_eraser helper functions
  add support for SFDP (JESD216)

 chipdrivers.h |    1 +
 flashchips.c  |   24 +++++
 flashchips.h  |    1 +
 flashrom.c    |   42 ++++++--
 spi.h         |    5 +
 spi25.c       |  320 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 385 insertions(+), 8 deletions(-)





More information about the flashrom mailing list