From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 11 Dec 2009 13:12:57 -0600 Subject: [U-Boot] [PATCH] nand: Fix access to last block in NAND devices In-Reply-To: <1260345703-27599-1-git-send-email-sr@denx.de> References: <1260345703-27599-1-git-send-email-sr@denx.de> Message-ID: <20091211191257.GA28105@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Dec 09, 2009 at 09:01:43AM +0100, Stefan Roese wrote: > Currently, the last block of NAND devices can't be accessed. This patch > fixes this issue by correcting the boundary checking (off-by-one error). > > Signed-off-by: Stefan Roese > Cc: Scott Wood > Cc: Wolfgang Denk > --- > drivers/mtd/nand/nand_util.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied to u-boot-nand-flash. -Scott