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

Brian Norris computersforpeace at gmail.com
Tue Jun 13 10:01:31 PDT 2017


On Sat, Jun 10, 2017 at 08:00:42AM +0200, Boris Brezillon wrote:
> On Fri,  9 Jun 2017 15:58:31 +1200
> Chris Packham <chris.packham at alliedtelesis.co.nz> 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 at free-electrons.com>
> > Signed-off-by: Chris Packham <chris.packham at alliedtelesis.co.nz>
> 
> Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Thanks. Applied to l2-mtd.git



More information about the linux-mtd mailing list