From: Bin Meng Date: Wed, 10 Dec 2014 16:37:52 +0800 Subject: [U-Boot] [PATCH v3 1/2] x86: ich-spi: Set the rx operation mode for ich 7 Message-ID: <1418200672-4743-1-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ICH 7 SPI controller only supports array read command (03h). Fast array read command (0Bh) is not supported. Signed-off-by: Bin Meng Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in v3: None RESEND of v2 patch @ http://patchwork.ozlabs.org/patch/405752/ drivers/spi/ich.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index 7b24981..c38df08 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; } -- 1.8.2.1