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

Nico Huber (Code Review) gerrit at coreboot.org
Wed May 2 16:15:06 CEST 2018


Nico Huber has submitted this change and it was merged. ( 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>
Reviewed-on: https://review.coreboot.org/25551
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Nico Huber <nico.h at gmx.de>
---
M src/mainboard/sapphire/pureplatinumh61/devicetree.cb
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Nico Huber: Looks good to me, approved



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: merged
Gerrit-Change-Id: Ie18ee4e32511482dab747c9ffeac60d3994df320
Gerrit-Change-Number: 25551
Gerrit-PatchSet: 2
Gerrit-Owner: Nicola Corna <nicola at corna.info>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Nico Huber <nico.h at gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180502/1ed46f48/attachment.html>


More information about the coreboot-gerrit mailing list