
26 Jul
2021
26 Jul
'21
9:46 p.m.
On 26/07/21 09:35PM, Michael Walle wrote:
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 71025f013ccb ("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: 383fded70c4f ("spi: nxp_fspi: new driver for the FlexSPI controller") Signed-off-by: Michael Walle michael@walle.cc
Reviewed-by: Pratyush Yadav p.yadav@ti.com
--
Regards,
Pratyush Yadav
Texas Instruments Inc.