From d635376067eec684c2975dd195f48a901a36087f Mon Sep 17 00:00:00 2001 From: Tyler Wang Date: Thu, 16 Nov 2023 14:26:14 +0800 Subject: drivers/spi/gigadevice.c: Add GD25LQ255E support datasheet: https://www.gigadevice.com.cn/Public/Uploads/uploadfile/files/20221129/DS-00562-GD25LQ255E-Rev1.1.pdf BUG=b:311336475 BRANCH=firmware-rex-15709.B TEST=Build AP-firmware and test on karis, system can boot to OS. Change-Id: Id952ba3a4a45a51571d3735cf6b5764cece2c5e4 Signed-off-by: Tyler Wang Reviewed-on: https://review.coreboot.org/c/coreboot/+/79087 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) Reviewed-by: YH Lin Reviewed-by: Eric Lai --- src/drivers/spi/gigadevice.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/drivers') diff --git a/src/drivers/spi/gigadevice.c b/src/drivers/spi/gigadevice.c index fc2a405302..94b85e77c8 100644 --- a/src/drivers/spi/gigadevice.c +++ b/src/drivers/spi/gigadevice.c @@ -110,6 +110,13 @@ static const struct spi_flash_part_id flash_table[] = { .fast_read_dual_output_support = 1, .fast_read_dual_io_support = 1, }, + { + /* GD25LQ255E */ + .id[0] = 0x6019, + .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