Am 09.02.2012 18:40 schrieb Stefan Tauner:
From: Stefan Tauner stefan.tauner@student.tuwien.ac.at Date: Thu, 9 Feb 2012 16:09:31 +0100 Subject: [PATCH] Add support for SFDP (JESD216).
Similar to modules using the opaque programmer framework (e.g. ICH Hardware Sequencing) this uses a template struct flashchip element in flashchips.c with a special probe function that fills the obtained values into that struct.
This allows yet unknown SPI chips to be supported (read, erase, write) almost as if it was already added to flashchips.c.
Documentation used: http://www.jedec.org/standards-documents/docs/jesd216 (2011-04) W25Q32BV data sheet Revision F (2011-04-01) EN25QH16 data sheet Revision F (2011-06-01) MX25L6436E data sheet Revision 1.8 (2011-12-26)
Tested-by: David Hendricks dhendrix@google.com on W25Q64CV + dediprog Tested-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at on a 2010 MX25L6436E with preliminary (i.e. incorrect) SFDP implementation + serprog
Signed-off-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at
With the following conditions: - two fixup patches later in this thread integrated - unkown->unknown fixes - NPH formatting as discussed on IRC - spi_sfdp_read naming as dicusssed on IRC this patch is Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
would be nice to have one consolidated patch on the mailing list, just for the record.
Regards, Carl-Daniel