Attention is currently required from: Simon Buhrow, Thomas Heijligen, Aarya.
Hello build bot (Jenkins), Simon Buhrow, Nico Huber, Thomas Heijligen,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/67354
to look at the new patch set (#12).
Change subject: spi.c: Add erasefn and opcodes for AT45 and S25F to lookup list ......................................................................
spi.c: Add erasefn and opcodes for AT45 and S25F to lookup list
Add opcode and erasefn for AT45 and S25F to the spi_get_[opcode/erasefn]_from[erasefn/opcode] lookup list. Also AT45CS1282 uses multiple opcodes in it's erasefn so modifying aforementioned functions and the lookup list to use a list of opcodes rather than a single opcode.
The lookup list and the passed lookup list must have opcodes in sorted order and must be '0' terminated. Also size of the opcode list in the lookup table must be one more than the maximum opcodes used by any erasefn.
Change-Id: Ief25932120f940dea0ffe161a79219deecb2e8ab Signed-off-by: Aarya Chaumal aarya.chaumal@gmail.com --- M include/chipdrivers.h M spi.c 2 files changed, 101 insertions(+), 24 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/54/67354/12