From 0665d0e2369c07b67e16637ebf4972f8b5aca1ce Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 7 Mar 2024 16:06:16 -0700 Subject: drivers/spi: Add GD25LR256E support Signed-off-by: Martin Roth Change-Id: Id405ed990101a1ceda5e09c6db835f8302047f5c Reviewed-on: https://review.coreboot.org/c/coreboot/+/81125 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/drivers/spi/gigadevice.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 = { -- cgit v1.2.3