From 22fa0e0e0c29679ec50012f0ae9a58abebbe2397 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Mon, 23 Jun 2014 09:16:18 -0700 Subject: [PATCH] spi: Add Spansion flash S25FL128P Storm devices use more recent Spansion flash, add its description to the table of supported devices. BUG=chrome-os-partner:29871 TEST=the updated firmware boots all the way to depthcharge Original-Change-Id: I81661c01ae679d49918e40d940b8d348f3081f9a Original-Signed-off-by: Vadim Bendebury Original-Reviewed-on: https://chromium-review.googlesource.com/205182 Original-Reviewed-by: Stefan Reinauer (cherry picked from commit ea7bb1cf65b7130164b869fef09c55138100206b) Signed-off-by: Marc Jones Change-Id: I1e0136a5c575951b4e464aab0f380f19e886a84f Reviewed-on: http://review.coreboot.org/8146 Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/drivers/spi/spansion.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/drivers/spi/spansion.c b/src/drivers/spi/spansion.c index c7e31fe5b5..d8a175454f 100644 --- a/src/drivers/spi/spansion.c +++ b/src/drivers/spi/spansion.c @@ -140,6 +140,14 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = { .nr_sectors = 64, .name = "S25FL032P", }, + { + .idcode1 = SPSN_ID_S25FL128P, + .idcode2 = SPSN_EXT_ID_S25FLXXS_64KB, + .page_size = 256, + .pages_per_sector = 256, + .nr_sectors = 256, + .name = "25FS128S", + }, }; static int spansion_write(struct spi_flash *flash,