From: Ruiqiang Hao <[email protected]> When SPI-nor erase sector with 4 addr bus width, will cause fail. Limiting SPI bus width can fix this error.
Signed-off-by: Ruiqiang Hao <[email protected]> --- drivers/spi/spi-octeontx2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-octeontx2.c b/drivers/spi/spi-octeontx2.c index a9126e7aa21e..ee9fce7cbdc0 100644 --- a/drivers/spi/spi-octeontx2.c +++ b/drivers/spi/spi-octeontx2.c @@ -301,9 +301,7 @@ static int octeontx2_spi_probe(struct pci_dev *pdev, master->num_chipselect = 4; master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | - SPI_LSB_FIRST | SPI_3WIRE | - SPI_TX_DUAL | SPI_RX_DUAL | - SPI_TX_QUAD | SPI_RX_QUAD; + SPI_LSB_FIRST | SPI_3WIRE; master->transfer_one_message = octeontx2_spi_transfer_one_message; master->bits_per_word_mask = SPI_BPW_MASK(8); master->max_speed_hz = OCTEONTX2_SPI_MAX_CLOCK_HZ; -- 2.14.5
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9812): https://lists.yoctoproject.org/g/linux-yocto/message/9812 Mute This Topic: https://lists.yoctoproject.org/mt/82421028/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
