From e6d1c7fae87e7bdf869c59a09c16284b6a9dfccb Mon Sep 17 00:00:00 2001 From: Scott Chao Date: Wed, 8 Apr 2020 15:43:03 +0800 Subject: spi: add Winbond W25Q64JW spi rom support BUG=b:153515968 TEST=Able to boot to kernel Signed-off-by: Scott Chao Change-Id: I699f6d7ba3af01436f10c9a59af4a22fc45aa300 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40270 Reviewed-by: Yu-Ping Wu Reviewed-by: Hung-Te Lin Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/drivers/spi/winbond.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/drivers/spi') diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c index f1aa1c4186..9029dc442d 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -173,6 +173,14 @@ static const struct spi_flash_part_id flash_table[] = { .protection_granularity_shift = 17, .bp_bits = 3, }, + { + /* W25Q64JW */ + .id[0] = 0x8017, + .nr_sectors_shift = 11, + .fast_read_dual_output_support = 1, + .protection_granularity_shift = 17, + .bp_bits = 3, + }, { /* W25Q128_V */ .id[0] = 0x4018, -- cgit v1.2.3