diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/stoneyridge/spi.c | 2 | ||||
-rw-r--r-- | src/soc/intel/quark/spi.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/amd/stoneyridge/spi.c b/src/soc/amd/stoneyridge/spi.c index 311cd37483..9889727f06 100644 --- a/src/soc/amd/stoneyridge/spi.c +++ b/src/soc/amd/stoneyridge/spi.c @@ -193,7 +193,7 @@ static const struct spi_ctrlr spi_ctrlr = { .xfer = spi_ctrlr_xfer, .xfer_vector = spi_xfer_two_vectors, .max_xfer_size = SPI_FIFO_DEPTH, - .deduct_cmd_len = true, + .flags = SPI_CNTRLR_DEDUCT_CMD_LEN, }; const struct spi_ctrlr_buses spi_ctrlr_bus_map[] = { diff --git a/src/soc/intel/quark/spi.c b/src/soc/intel/quark/spi.c index a6647fb71a..6c1aca98fa 100644 --- a/src/soc/intel/quark/spi.c +++ b/src/soc/intel/quark/spi.c @@ -290,7 +290,6 @@ BOOT_STATE_INIT_ENTRY(BS_DEV_INIT, BS_ON_ENTRY, spi_init_cb, NULL); const struct spi_ctrlr spi_driver = { .xfer = xfer, .max_xfer_size = 64, - .deduct_cmd_len = false, }; const struct spi_ctrlr_buses spi_ctrlr_bus_map[] = { |