summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2014-06-23 09:16:18 -0700
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-01-09 06:19:32 +0100
commit22fa0e0e0c29679ec50012f0ae9a58abebbe2397 (patch)
tree2c3f1b2eb39e6584e63d51307c7c657c68dfdf0f /src/drivers
parentd6865222c84c9da02cb515329af6a5384638d521 (diff)
downloadcoreboot-22fa0e0e0c29679ec50012f0ae9a58abebbe2397.tar.xz
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 <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/205182 Original-Reviewed-by: Stefan Reinauer <reinauer@google.com> (cherry picked from commit ea7bb1cf65b7130164b869fef09c55138100206b) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I1e0136a5c575951b4e464aab0f380f19e886a84f Reviewed-on: http://review.coreboot.org/8146 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/spansion.c8
1 files changed, 8 insertions, 0 deletions
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,