diff options
author | Tyler Wang <Tyler.Wang@quanta.corp-partner.google.com> | 2023-11-16 14:26:14 +0800 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-12-21 04:29:40 +0000 |
commit | d635376067eec684c2975dd195f48a901a36087f (patch) | |
tree | 187def25f94664ad920ea0996b6b7910229abe85 /src/drivers/spi | |
parent | d9b88949546d0e7094172de081b011fe3ccf1c6a (diff) |
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 <tyler.wang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79087
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: YH Lin <yueherngl@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/drivers/spi')
-rw-r--r-- | src/drivers/spi/gigadevice.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 = { |