I have rebased and improved my previous patch set according to the review from carl-daniel.
debatable and/or remarkable bits: 1/4 changes the output and name of spi_prettyprint_status_register_bp3210 2/4 none, i hope 3/4 location of the code. could be moved to at25.c, but i don't see a reason to do so. 4/4 - handling of ATMEL_AT25F512 and ATMEL_AT25F512A: they are evil twins with different page sizes but same id (guessed id, none in datasheet). the current implementation will ask the user which version he has. dunno if that's necessary... also page_size will die soon-ish... - location and naming of AT25F_RDID macros
Stefan Tauner (4): clean up a25.c, at25.c, spi25.c rename AT25F512B-specific code add spi_block_erase_62 Add support for Atmel's AT25F series of SPI flash chips.
a25.c | 8 ++-- at25.c | 132 +++++++++++++++++++++++++++++++++++++++++++++++--------- chipdrivers.h | 6 ++- flashchips.c | 94 ++++++++++++++++++++++++++++++++++++++++ flashchips.h | 10 ++--- spi.h | 14 ++++-- spi25.c | 62 ++++++++++++++++++++++++--- 7 files changed, 283 insertions(+), 43 deletions(-)