Re: [PATCH v6] mtd: handle partitioning on devices with 0 erasesize

From: Brian Norris
Date: Fri Jun 09 2017 - 19:17:49 EST


Thanks Chris!

On Fri, Jun 09, 2017 at 03:58:31PM +1200, Chris Packham wrote:
> erasesize is meaningful for flash devices but for SRAM there is no
> concept of an erase block so erasesize is set to 0. When partitioning
> these devices instead of ensuring partitions fall on erasesize
> boundaries we ensure they fall on writesize boundaries.
>
> Helped-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>

Looks good to me. Did Boris have any last thoughts? Or else I'll merge
this.