Re: [U-Boot] [PATCH 06/26] spi: mt7621-spi: restore default register value after each xfer

2019-08-28 Thread Stefan Roese
On 28.08.19 08:37, Weijie Gao wrote: Currently this driver uses a different way to implement the spi xfer, by modifying some fields of two registers, which is incompatible with the MTK's original SDK linux driver. This will cause the flash data being damaged by the SDK driver. This patch lets

[U-Boot] [PATCH 06/26] spi: mt7621-spi: restore default register value after each xfer

2019-08-28 Thread Weijie Gao
Currently this driver uses a different way to implement the spi xfer, by modifying some fields of two registers, which is incompatible with the MTK's original SDK linux driver. This will cause the flash data being damaged by the SDK driver. This patch lets the mt7621_spi_set_cs() restore the