Nico Huber has uploaded this change for review.

View Change

[TESTME]sb600spi/yangtze+: Allow and account for 4BA commands

Change-Id: If67c04e6b262401159ac8ad12c8cb3d482e08ec7
Signed-off-by: Nico Huber <nico.h@gmx.de>
---
M sb600spi.c
1 file changed, 3 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/77/58777/1
diff --git a/sb600spi.c b/sb600spi.c
index ba3786f..63f21b5 100644
--- a/sb600spi.c
+++ b/sb600spi.c
@@ -573,8 +573,9 @@
};

static const struct spi_master spi_master_yangtze = {
- .max_data_read = FIFO_SIZE_YANGTZE - 3, /* Apparently the big SPI 100 buffer is not a ring buffer. */
- .max_data_write = FIFO_SIZE_YANGTZE - 3,
+ .features = SPI_MASTER_4BA,
+ .max_data_read = FIFO_SIZE_YANGTZE - 4, /* Apparently the big SPI 100 buffer is not a ring buffer. */
+ .max_data_write = FIFO_SIZE_YANGTZE - 4,
.command = spi100_spi_send_command,
.multicommand = default_spi_send_multicommand,
.read = default_spi_read,

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: If67c04e6b262401159ac8ad12c8cb3d482e08ec7
Gerrit-Change-Number: 58777
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-CC: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: newchange