Files
u-boot/drivers
Pratyush Yadav aba0bcd7bd mtd: spi-nor-core: allow truncated erases
On devices with non-uniform sector sizes like Spansion S25 or S28 family
of flashes the sector under erase does not necessarily have to be
mtd->erasesize bytes long. For example, on S28 flashes the first 128 KiB
region is composed of 32 4 KiB sectors, then a 128 KiB sector, and then
256 KiB sectors till the end.

Let the flash-specific erase functions erase less than the requested
length in case of the 4 or 128 KiB sectors and report the number of
bytes erased back to the calling function.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2021-06-28 12:05:38 +05:30
..
2021-03-08 10:32:34 +01:00
2021-06-24 11:53:00 +05:30
2021-06-18 10:09:41 +02:00
2021-04-10 08:04:42 -04:00
2021-06-18 14:36:24 +08:00
2021-03-27 13:59:36 +13:00
2021-05-04 07:57:18 -04:00
2021-03-13 13:14:52 -05:00