Marc Jones (marc.jones@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7931
-gerrit
commit 0b3de36b6471270537133f3a0f106cf4b91c1633 Author: Vadim Bendebury vbendeb@chromium.org Date: Thu May 1 15:50:43 2014 -0700
drivers/spi: add support for another Spansion chip
Add the device ID definitions and properties for the SPI chip used on the AP148 board (Google Storm).
BUG=chrome-os-partner:27784 TEST=manual . with the rest of the patches applied AP148 boots all the way to trying to read the payload.
Original-Change-Id: I5a0e5c9d3cc9ea81bc5227c0fbc1d0a5fc7bec27 Original-Signed-off-by: Vadim Bendebury vbendeb@chromium.org Original-Reviewed-on: https://chromium-review.googlesource.com/197895 Original-Reviewed-by: David Hendricks dhendrix@chromium.org (cherry picked from commit a7c69981b18ac6b1158273596b94df0def65963d) Signed-off-by: Marc Jones marc.jones@se-eng.com
Change-Id: I14e2f4f8f691a7db6ed596a3440914e08680867b --- src/drivers/spi/spansion.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/src/drivers/spi/spansion.c b/src/drivers/spi/spansion.c index fba816a..e17f890 100644 --- a/src/drivers/spi/spansion.c +++ b/src/drivers/spi/spansion.c @@ -48,10 +48,12 @@ #define SPSN_ID_S25FL016A 0x0214 #define SPSN_ID_S25FL032A 0x0215 #define SPSN_ID_S25FL064A 0x0216 +#define SPSN_ID_S25FL128S 0x0219 #define SPSN_ID_S25FL128P 0x2018 #define SPSN_EXT_ID_S25FL128P_256KB 0x0300 #define SPSN_EXT_ID_S25FL128P_64KB 0x0301 #define SPSN_EXT_ID_S25FL032P 0x4d00 +#define SPSN_EXT_ID_S25FLXXS_64KB 0x4d01
struct spansion_spi_flash_params { u16 idcode1; @@ -123,6 +125,14 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = { .name = "S25FL128P_256K", }, { + .idcode1 = SPSN_ID_S25FL128S, + .idcode2 = SPSN_EXT_ID_S25FLXXS_64KB, + .page_size = 256, + .pages_per_sector = 256, + .nr_sectors = 512, + .name = "S25FL128S_256K", + }, + { .idcode1 = SPSN_ID_S25FL032A, .idcode2 = SPSN_EXT_ID_S25FL032P, .page_size = 256,