summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Chao <scott.chao@bitland.corp-partner.google.com>2020-04-08 15:43:03 +0800
committerAngel Pons <th3fanbus@gmail.com>2020-04-10 15:14:53 +0000
commite6d1c7fae87e7bdf869c59a09c16284b6a9dfccb (patch)
tree17c60442342ed2c210041cbdd2628543f478dcfa
parent4d319c3d0965042ae6b225d4cc391e00789d7565 (diff)
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>
-rw-r--r--src/drivers/spi/winbond.c8
1 files changed, 8 insertions, 0 deletions
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
@@ -174,6 +174,14 @@ static const struct spi_flash_part_id flash_table[] = {
.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,
.nr_sectors_shift = 12,