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 ________________________________________ From: Sean Anderson <sean...@gmail.com> Sent: Friday, March 6, 2020 03:48 To: Eugeniy Paltsev; u-boot@lists.denx.de Cc: Simon Glass; Jagan Teki; Alexey Brodkin Subject: Re: [PATCH v1 6/8] spi: dw: Add mem_ops On 3/5/20 5:15 PM, Eugeniy Paltsev wrote: > Hi Sean, > > do you have branch with this code (all dw spi changes) in some public repo? > I would like to test it with our board (which have DW SPI). > > --- > Eugeniy Paltsev A full tree is available at https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Forty-2DBot_u-2Dboot_tree_maix-5Fspi&d=DwICaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=ZlJN1MriPUTkBKCrPSx67GmaplEUGcAEk9yPtCLdUXI&m=EmfUzvFjhqLxmNa2GVtV9Ph9bW4C8gFi0EhXqFqucSU&s=23UJFSwfnLIPXRyp6h_whXzJJJCbiceE8X6ydfb11_A&e= --Sean