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>
This commit is contained in:
Tyler Wang 2023-11-16 14:26:14 +08:00 committed by Subrata Banik
parent d9b8894954
commit d635376067
1 changed files with 7 additions and 0 deletions

View File

@ -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 = {