Skip to content
Commit 364174b2 authored by Michael Walle's avatar Michael Walle Committed by Priyanka Jain
Browse files

spi: nxp_fspi: Ensure width is respected in spi-mem operations



Import linux commit 007773e16a6f ("spi: nxp-fspi: Ensure width is
respected in spi-mem operations") to fix SPI access on boards which
don't have all SPI I/O lines connected to the flash.

Since commit 71025f01 ("mtd: spi-nor-core: Rework hwcaps selection")
u-boot figures out the capabilities by looking at spi_mem_supports_op().
The FlexSPI driver doesn't take the board layout into account. Fix that.

Fixes: 383fded7 ("spi: nxp_fspi: new driver for the FlexSPI controller")
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarPratyush Yadav <p.yadav@ti.com>
Reviewed-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
parent 78e786de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment