From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 16 May 2008 15:34:00 -0500 Subject: [U-Boot-Users] [PATCH] Fix NAND erase progress error In-Reply-To: <42848A5C5A0D1E47B026E644DD49B08E026D1A23@mail> References: <1210963157-7727-1-git-send-email-hugo.villeneuve@lyrtech.com> <20080516194054.GB2795@loki.buserror.net> <42848A5C5A0D1E47B026E644DD49B08E026D1A19@mail> <482DEC17.5060607@freescale.com> <42848A5C5A0D1E47B026E644DD49B08E026D1A23@mail> Message-ID: <482DEFB8.6050704@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hugo Villeneuve wrote: > I would be perfectly happy if the mtd driver reported a warning when the > requested erase size is not an exact multiple of the block size, and > allow the whole block erase to proceed. Then my patch would make sense. That's what the mtd-2.6.22.1 branch in the NAND repository does. I think it should reject such requests, though. -Scott