Re: [U-Boot] [PATCH v2] mtd: spi: Improve spi_nor_write_data() implementation

2019-04-17 Thread Vignesh Raghavendra
On 16/04/19 5:29 PM, Rajat Srivastava wrote: Maximum write size in a single write operation in spi_nor_write_data() function can be equal to slave tx buffer, which is adjusted in spi_mem_adjust_op_size() and write operation gets fragmented. Previously data write for the above fragmentation did

[U-Boot] [PATCH v2] mtd: spi: Improve spi_nor_write_data() implementation

2019-04-16 Thread Rajat Srivastava
Maximum write size in a single write operation in spi_nor_write_data() function can be equal to slave tx buffer, which is adjusted in spi_mem_adjust_op_size() and write operation gets fragmented. Previously data write for the above fragmentation didn't incorporate write enable and status checks. I