summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/gigadevice.c66
1 files changed, 57 insertions, 9 deletions
diff --git a/src/drivers/spi/gigadevice.c b/src/drivers/spi/gigadevice.c
index 2d7544c485..ff1ce2f8e6 100644
--- a/src/drivers/spi/gigadevice.c
+++ b/src/drivers/spi/gigadevice.c
@@ -51,12 +51,20 @@ struct gigadevice_spi_flash_params {
static const struct gigadevice_spi_flash_params gigadevice_spi_flash_table[] = {
{
+ .id = 0x3114,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 16,
+ .name = "GD25T80",
+ },
+ {
.id = 0x4014,
.l2_page_size = 8,
.pages_per_sector = 16,
.sectors_per_block = 16,
.nr_blocks = 16,
- .name = "GD25Q80",
+ .name = "GD25Q80(B)",
},
{
.id = 0x4015,
@@ -75,20 +83,60 @@ static const struct gigadevice_spi_flash_params gigadevice_spi_flash_table[] = {
.name = "GD25Q32(B)",
},
{
- .id = 0x6016,
+ .id = 0x4017,
.l2_page_size = 8,
.pages_per_sector = 16,
.sectors_per_block = 16,
- .nr_blocks = 64,
- .name = "GD25LQ32",
+ .nr_blocks = 128,
+ .name = "GD25Q64(B)/GD25B64C",
},
{
- .id = 0x4017,
+ .id = 0x4018,
.l2_page_size = 8,
.pages_per_sector = 16,
.sectors_per_block = 16,
- .nr_blocks = 128,
- .name = "GD25Q64B/GD25B64C",
+ .nr_blocks = 256,
+ .name = "GD25Q128(B)",
+ },
+ {
+ .id = 0x4214,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 16,
+ .name = "GD25VQ80C",
+ },
+ {
+ .id = 0x4215,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 32,
+ .name = "GD25VQ16C",
+ },
+ {
+ .id = 0x6014,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 16,
+ .name = "GD25LQ80",
+ },
+ {
+ .id = 0x6015,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 32,
+ .name = "GD25LQ16",
+ },
+ {
+ .id = 0x6016,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 64,
+ .name = "GD25LQ32",
},
{
.id = 0x6017,
@@ -99,12 +147,12 @@ static const struct gigadevice_spi_flash_params gigadevice_spi_flash_table[] = {
.name = "GD25LQ64C/GD25LB64C",
},
{
- .id = 0x4018,
+ .id = 0x6018,
.l2_page_size = 8,
.pages_per_sector = 16,
.sectors_per_block = 16,
.nr_blocks = 256,
- .name = "GD25Q128(B)",
+ .name = "GD25LQ128",
},
};