From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-out.m-online.net ([212.18.0.9]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzzda-0003WH-Nw for linux-mtd@lists.infradead.org; Fri, 28 Oct 2016 05:23:32 +0000 Subject: Re: MTD partitions vs erase regions To: "Krzeminski, Marcin (Nokia - PL/Wroclaw)" References: <35c63aa4-d686-e06a-a12f-408c25895a22@denx.de> Cc: "linux-mtd@lists.infradead.org" From: Marek Vasut Message-ID: Date: Fri, 28 Oct 2016 07:08:08 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 10/28/2016 06:50 AM, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote: > Marek, > >> -----Original Message----- >> From: Marek Vasut [mailto:marex@denx.de] >> Sent: Friday, October 28, 2016 2:15 AM >> To: Krzeminski, Marcin (Nokia - PL/Wroclaw) >> >> Cc: linux-mtd@lists.infradead.org >> Subject: Re: MTD partitions vs erase regions >> >> On 10/27/2016 02:19 PM, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote: >>> Hi Marek, >> >> Hi, >> >>> I am sending mtd partition and erase regions conflict that I had. >>> I admit I have no investigated it, since finally all is different. >>> This could make some problems with your idea of having erase sizes >> defined from DT. >> >> Which flash is that ? > > Sorry - forgot to mention: MT25Q00 (64KiB erase size). > CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is disabled. I think this is expected then, the subsystem is not ready for device with variable eraseblock length. -- Best regards, Marek Vasut