summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb700/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb700/spi.c')
-rw-r--r--src/southbridge/amd/sb700/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb700/spi.c b/src/southbridge/amd/sb700/spi.c
index caddfc88c0..6df47fd309 100644
--- a/src/southbridge/amd/sb700/spi.c
+++ b/src/southbridge/amd/sb700/spi.c
@@ -112,7 +112,7 @@ static const struct spi_ctrlr spi_ctrlr = {
.xfer = spi_ctrlr_xfer,
.xfer_vector = spi_xfer_two_vectors,
.max_xfer_size = AMD_SB_SPI_TX_LEN,
- .deduct_cmd_len = true,
+ .flags = SPI_CNTRLR_DEDUCT_CMD_LEN,
};
const struct spi_ctrlr_buses spi_ctrlr_bus_map[] = {