summaryrefslogtreecommitdiff
path: root/drivers/spi/ich.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/ich.c')
-rw-r--r--drivers/spi/ich.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c
index c4d3a291e8..b356411c36 100644
--- a/drivers/spi/ich.c
+++ b/drivers/spi/ich.c
@@ -141,6 +141,10 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
ich->slave.max_write_size = ctlr.databytes;
ich->speed = max_hz;
+ /* ICH 7 SPI controller only supports array read command */
+ if (ctlr.ich_version == 7)
+ ich->slave.op_mode_rx = SPI_OPM_RX_AS;
+
return &ich->slave;
}