From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.105.134] helo=mgw-mx09.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1N1DDL-0000Vo-3o for linux-mtd@lists.infradead.org; Fri, 23 Oct 2009 06:01:31 +0000 Subject: Re: [PATCH v5 2/3] MTD: OneNAND: multiblock erase support From: Artem Bityutskiy To: Amit Kumar Sharma In-Reply-To: References: <1255341165-1972-1-git-send-email-ext-mika.2.korhonen@nokia.com> <1255341165-1972-2-git-send-email-ext-mika.2.korhonen@nokia.com> <1255341165-1972-3-git-send-email-ext-mika.2.korhonen@nokia.com> <4ADDB69F.7060606@nokia.com> <1256272454.29885.198.camel@localhost> Content-Type: text/plain; charset="UTF-8" Date: Fri, 23 Oct 2009 09:00:34 +0300 Message-Id: <1256277634.29885.218.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: "amul.saha@samsung.com" , "Korhonen Mika.2 \(EXT-Ardites/Oulu\)" , "linux-mtd@lists.infradead.org" , "kyungmin.park@samsung.com" , "Hunter Adrian \(Nokia-D/Helsinki\)" Reply-To: Artem.Bityutskiy@nokia.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2009-10-23 at 07:41 +0200, ext Amit Kumar Sharma wrote: > Hi Mika, > > Do you have any use case for using multiblock erase. One use case I see is flashing UBI images faster. With some tweaks, the ubiformat utility could exploit the mutiblock-erase feature (it needs to erase the mtd partition before flashing). Well, to be generic, it would be also nice to have a sysfs file telling the maximum multi-block erase size. However, it is not strictly necessary. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)