Takahiro Kuwano 91f3c430f6
mtd: spi-nor: spansion: Add a new ->ready() hook for multi-chip device
For multi-chip devices, we need to make sure the all dice in the device
are ready. The cypress_nor_sr_ready_and_clear() reads SR in each die and
returns true only when all dice are ready. This function also takes care
for program or erase error handling by reusing spansion_nor_clear_sr().
To do that, spansion_nor_clear_sr() is moved to top.

Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Link: https://lore.kernel.org/r/3e4a64613ee733e002279349c75083433be45bf5.1680849425.git.Takahiro.Kuwano@infineon.com
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
2023-04-08 09:30:17 +03:00
..
2023-02-25 15:05:08 -08:00
2023-02-23 10:27:32 +01:00
2022-06-28 06:33:15 -06:00
2022-04-25 10:43:12 +02:00
2022-09-21 10:38:11 +02:00
2022-09-20 10:40:30 +02:00
2022-09-19 18:14:53 +02:00