From bfbb94258e7360fc338de4cad461e01f1efe57a6 Mon Sep 17 00:00:00 2001 Subject: [PATCH 07/22] drivers/spi/gigadevice.c: add definition for gigadevice 16mbyte chip --- src/drivers/spi/gigadevice.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/drivers/spi/gigadevice.c b/src/drivers/spi/gigadevice.c index 2d7544c485..6aec82a86c 100644 --- a/src/drivers/spi/gigadevice.c +++ b/src/drivers/spi/gigadevice.c @@ -106,6 +106,14 @@ static const struct gigadevice_spi_flash_params gigadevice_spi_flash_table[] = { .nr_blocks = 256, .name = "GD25Q128(B)", }, + { + .id = 0x6018, + .l2_page_size = 8, + .pages_per_sector = 16, + .sectors_per_block = 16, /* datasheet says "64/32K block", not sure which it means */ + .nr_blocks = 256, + .name = "GD25LQ128(D)", + }, }; static int gigadevice_write(const struct spi_flash *flash, u32 offset, -- 2.36.1