[flashrom] [RFC] JEDEC refactor w/ conversion notes and file eliminations
Sean Nelson
audiohacked at gmail.com
Mon Jan 4 07:39:39 CET 2010
The patch converts jedec functions into mask-based generics which can be
used for many chip provided the only changes are the the addresses are
converted from 0x5555/0x2AAA to 0x555/0x2AA or similar. These functions
won't work for the 0xAAA chips listed above, but most of listed chips
should work with these changes. The other changes I suggested will come
in later patches, and the writing functions are untouched since we'll
move to a block writers system. The patch mostly changes jedec.c, but a
few other files are changed because they use the jedec functions within
their own functions.
The patch also adds a copyright line to flashchips.c because of my
recent work in converting AMD and Atmel chips to use struct erase_block.
Signed-off-by: Sean Nelson <audiohacked at gmail.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jedec5.diff
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100103/e251d429/attachment.ksh>
More information about the flashrom
mailing list