summaryrefslogtreecommitdiff
path: root/src/drivers/spi/gigadevice.c
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-03-07 16:06:16 -0700
committerMartin L Roth <gaumless@gmail.com>2024-03-09 23:39:06 +0000
commit0665d0e2369c07b67e16637ebf4972f8b5aca1ce (patch)
tree9652b8e98a2ae89eebbfa57ea8e5381bc1d81ba0 /src/drivers/spi/gigadevice.c
parent8e1e1acce7c590d5d7bc0bef09a76198e6dfeca2 (diff)
drivers/spi: Add GD25LR256E support
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Id405ed990101a1ceda5e09c6db835f8302047f5c Reviewed-on: https://review.coreboot.org/c/coreboot/+/81125 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/drivers/spi/gigadevice.c')
-rw-r--r--src/drivers/spi/gigadevice.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/spi/gigadevice.c b/src/drivers/spi/gigadevice.c
index 94b85e77c8..16ba27f9e6 100644
--- a/src/drivers/spi/gigadevice.c
+++ b/src/drivers/spi/gigadevice.c
@@ -117,6 +117,13 @@ static const struct spi_flash_part_id flash_table[] = {
.fast_read_dual_output_support = 1,
.fast_read_dual_io_support = 1,
},
+ {
+ /* GD25LR256E */
+ .id[0] = 0x6719,
+ .nr_sectors_shift = 13,
+ .fast_read_dual_output_support = 1,
+ .fast_read_dual_io_support = 1,
+ },
};
const struct spi_flash_vendor_info spi_flash_gigadevice_vi = {