[PATCH v1 6/8] spi: dw: Add mem_ops

Sean Anderson
2020-03-06T20:36:42Z

On 3/6/20 12:03 PM, Eugeniy Paltsev wrote:
> Hi Sean,
>
> I've tested the SPI (with SPI flash) on HSDK board (which have DW SPI) with your changes.
> It completely break SPI on HSDK:
>
> --------------------->8--------------------------
> # sf probe
> unrecognized JEDEC id bytes: ff, ff, ff
> Failed to initialize SPI flash at 0:0 (error -2)
> --------------------->8--------------------------
>
> Tested from maix_spi HEAD (e338571bf528f58b3ced7fbd0c1f5d923caa1cfd)
>
> ---
> Eugeniy Paltsev

Can you try testing without this patch, but with all the other patches
in the series? Alternatively, can you try testing with this patch, but
withpout the previous one ([PATCH v1 5/8] spi: dw: Speed up transfer
loops), and with logging/debug statements enabled?

--Sean