From 9bab54b6f5bdd563c446eb9be0663431ed5b1ef1 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Thu, 3 Apr 2014 16:37:06 -0600 Subject: 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 Original-Commit-Id: 20b5896adbbbdedcb1b7de435466dcc6bfa703cb Original-Change-Id: I86d1e69552b6000faa9e0523356e27d7e2a6a6db Original-Signed-off-by: Marc Jones Original-Reviewed-on: https://chromium-review.googlesource.com/193238 Original-Reviewed-by: Shawn Nematbakhsh Original-Reviewed-by: David Hendricks Reviewed-on: http://review.coreboot.org/8770 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- src/drivers/spi/gigadevice.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/drivers') 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, -- cgit v1.2.3