Edward O'Callaghan has uploaded this change for review.
sb600spi.c: Fix for 0x790b rev 0x61
Adds support for rev 0x61 of pid 0x790b. Note that the
read callback requires a memory mapping.
Change-Id: I5ce63b5de863aed0442cb4ffeff981e9b2fa445b
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
---
M sb600spi.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/73/44073/1
diff --git a/sb600spi.c b/sb600spi.c
index 5892d57..d879281 100644
--- a/sb600spi.c
+++ b/sb600spi.c
@@ -76,7 +76,7 @@
.max_data_write = FIFO_SIZE_YANGTZE - 3,
.command = spi100_spi_send_command,
.multicommand = default_spi_send_multicommand,
- .read = default_spi_read,
+ .read = read_memmapped,
.write_256 = default_spi_write_256,
.write_aai = default_spi_write_aai,
};
@@ -143,7 +143,7 @@
if (rev == 0x4a) {
amd_gen = CHIPSET_YANGTZE;
msg_pdbg("Yangtze detected.\n");
- } else if (rev == 0x4b) {
+ } else if (rev == 0x4b || rev == 0x61) {
amd_gen = CHIPSET_PROMONTORY;
msg_pdbg("Promontory detected.\n");
} else {
To view, visit change 44073. To unsubscribe, or for help writing mail filters, visit settings.