summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@se-eng.com>2014-04-03 16:37:06 -0600
committerPatrick Georgi <pgeorgi@google.com>2015-03-20 16:03:45 +0100
commit9bab54b6f5bdd563c446eb9be0663431ed5b1ef1 (patch)
tree0b5ade87a2d2b5e646b83a2f13b615ff53163d5f /src/drivers
parentfccc7dea2459f313476c32437493285779e2f814 (diff)
spi: Add GigaDevice GD25LQ64C/GD25LB64C SPI ROM support
GD25LQ64C and GD25LB64C have the same ID and settings. BUG=chrome-os-partner:25907 BRANCH=baytrail TEST=Boot with GD25LQ64 and check MRC data save/restore works. Change-Id: I8a4aa7cabd9a7657c2f0bae255a87341db3f1061 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 20b5896adbbbdedcb1b7de435466dcc6bfa703cb Original-Change-Id: I86d1e69552b6000faa9e0523356e27d7e2a6a6db Original-Signed-off-by: Marc Jones <marc.jones@se-eng.com> Original-Reviewed-on: https://chromium-review.googlesource.com/193238 Original-Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org> Original-Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/8770 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/gigadevice.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/drivers/spi/gigadevice.c b/src/drivers/spi/gigadevice.c
index 0f0d7b7432..9d163f8a22 100644
--- a/src/drivers/spi/gigadevice.c
+++ b/src/drivers/spi/gigadevice.c
@@ -106,7 +106,15 @@ static const struct gigadevice_spi_flash_params gigadevice_spi_flash_table[] = {
.pages_per_sector = 16,
.sectors_per_block = 16,
.nr_blocks = 128,
- .name = "GD25Q64(B)",
+ .name = "GD25Q64B/GD25B64C",
+ },
+ {
+ .id = 0x6017,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 128,
+ .name = "GD25LQ64C/GD25LB64C",
},
{
.id = 0x4018,