[PATCH v2] mtd: spi-nor: Fix chip erase timeout issue

2024-09-13 Thread Ye Li
Chip erase support was added to spi_nor_erase, but the timeout for polling SR ready is not updated and still for sector erase. So the timeout value is not enough for chip erase on some NOR flash. Follow kernel implementation 09b6a377687b ("mtd: spi-nor: scale up timeout for full-chip erase") to set

Re: [PATCH v2] mtd: spi-nor: Fix chip erase timeout issue

2024-09-12 Thread Marek Vasut
On 9/13/24 8:29 AM, Ye Li wrote: Chip erase support was added to spi_nor_erase, but the timeout for polling SR ready is not updated and still for sector erase. So the timeout value is not enough for chip erase on some NOR flash. Follow kernel implementation 09b6a377687b ("mtd: spi-nor: scale up t