[coreboot-gerrit] Change in coreboot[master]: drivers/spi/winbond: Add new chip

Patrick Rudolph (Code Review) gerrit at coreboot.org
Mon Oct 1 16:11:36 CEST 2018


Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/28861


Change subject: drivers/spi/winbond: Add new chip
......................................................................

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 at 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 https://review.coreboot.org/28861
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/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 at 9elements.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181001/32142ab0/attachment.html>


More information about the coreboot-gerrit mailing list