From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dKpCV-00028K-Sd for linux-mtd@lists.infradead.org; Tue, 13 Jun 2017 17:01:59 +0000 Received: by mail-pf0-x243.google.com with SMTP id w12so12596291pfk.0 for ; Tue, 13 Jun 2017 10:01:34 -0700 (PDT) Date: Tue, 13 Jun 2017 10:01:31 -0700 From: Brian Norris To: Boris Brezillon Cc: Chris Packham , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, David Woodhouse , Marek Vasut , Richard Weinberger , Cyrille Pitchen Subject: Re: [PATCH v6] mtd: handle partitioning on devices with 0 erasesize Message-ID: <20170613170131.GQ102137@google.com> References: <20170609035831.6258-1-chris.packham@alliedtelesis.co.nz> <20170610080042.58479317@bbrezillon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170610080042.58479317@bbrezillon> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, Jun 10, 2017 at 08:00:42AM +0200, Boris Brezillon wrote: > On Fri, 9 Jun 2017 15:58:31 +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 > > Signed-off-by: Chris Packham > > Acked-by: Boris Brezillon Thanks. Applied to l2-mtd.git