Patrick Rudolph has uploaded this change for review.

View Change

drivers/spi/winbond: Add new chip

The W25Q128J is a QSPI flash chip, without ~HOLD and ~WP.
Add the device id to make coreboot boot from it.

Change-Id: I623fdf7d7e30eb28259bec6294785ad873f1f503
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
---
M src/drivers/spi/winbond.c
1 file changed, 10 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/28861/1
diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c
index cdaeab7..d04410c 100644
--- a/src/drivers/spi/winbond.c
+++ b/src/drivers/spi/winbond.c
@@ -198,6 +198,16 @@
.bp_bits = 3,
},
{
+ .id = 0x7018,
+ .l2_page_size_shift = 8,
+ .pages_per_sector_shift = 4,
+ .sectors_per_block_shift = 4,
+ .nr_blocks_shift = 8,
+ .name = "W25Q128J",
+ .protection_granularity_shift = 18,
+ .bp_bits = 3,
+ },
+ {
.id = 0x4019,
.l2_page_size_shift = 8,
.pages_per_sector_shift = 4,

To view, visit change 28861. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I623fdf7d7e30eb28259bec6294785ad873f1f503
Gerrit-Change-Number: 28861
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph@9elements.com>