spi: add Winbond W25Q64JW spi rom support

BUG=b:153515968
TEST=Able to boot to kernel

Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I699f6d7ba3af01436f10c9a59af4a22fc45aa300
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40270
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Scott Chao 2020-04-08 15:43:03 +08:00 committed by Angel Pons
parent 4d319c3d09
commit e6d1c7fae8
1 changed files with 8 additions and 0 deletions

View File

@ -173,6 +173,14 @@ static const struct spi_flash_part_id flash_table[] = {
.protection_granularity_shift = 17, .protection_granularity_shift = 17,
.bp_bits = 3, .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 */ /* W25Q128_V */
.id[0] = 0x4018, .id[0] = 0x4018,