[coreboot-gerrit] Change in coreboot[master]: mb/sapphire/pureplatinumh61: Use custom SPI OPMENU

Nicola Corna (Code Review) gerrit at coreboot.org
Sat Apr 7 15:11:48 CEST 2018


Nicola Corna has uploaded this change for review. ( https://review.coreboot.org/25551


Change subject: mb/sapphire/pureplatinumh61: Use custom SPI OPMENU
......................................................................

mb/sapphire/pureplatinumh61: Use custom SPI OPMENU

The SPI chip in this board needs a custom OPMENU, otherwise flashrom
fails halfway during the write.

>From the default OPMENU, Block Erase (0xd8) has been replaced by AAI
write (0xad) and Fast Read (0x0b) by Write Disable (0x04).

Change-Id: Ie18ee4e32511482dab747c9ffeac60d3994df320
Signed-off-by: Nicola Corna <nicola at corna.info>
---
M src/mainboard/sapphire/pureplatinumh61/devicetree.cb
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/25551/1

diff --git a/src/mainboard/sapphire/pureplatinumh61/devicetree.cb b/src/mainboard/sapphire/pureplatinumh61/devicetree.cb
index 710004f..ed0d997 100644
--- a/src/mainboard/sapphire/pureplatinumh61/devicetree.cb
+++ b/src/mainboard/sapphire/pureplatinumh61/devicetree.cb
@@ -59,6 +59,8 @@
 			register "pcie_port_coalesce" = "1"
 			register "sata_interface_speed_support" = "0x3"
 			register "sata_port_map" = "0x33"
+			register "spi.opprefixes" = "{ 0x50, 0x06 }"
+			register "spi.ops" = "{ { 0, 1, 0x01 }, { 1, 1, 0x02 }, { 1, 0, 0x03 }, { 0, 0, 0x05 }, { 1, 1, 0x20 }, { 0, 0, 0x9f }, { 0, 1, 0xad }, { 0, 1, 0x04 } }"
 			device pci 16.0 on # Management Engine Interface 1
 				subsystemid 0x174b 0x1007
 			end

-- 
To view, visit https://review.coreboot.org/25551
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: Ie18ee4e32511482dab747c9ffeac60d3994df320
Gerrit-Change-Number: 25551
Gerrit-PatchSet: 1
Gerrit-Owner: Nicola Corna <nicola at corna.info>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180407/de48d12a/attachment.html>


More information about the coreboot-gerrit mailing list