[U-Boot] [PATCH] nand: Fix access to last block in NAND devices

Scott Wood scottwood at freescale.com
Fri Dec 11 20:12:57 CET 2009


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 <sr at denx.de>
> Cc: Scott Wood <scottwood at freescale.com>
> Cc: Wolfgang Denk <wd at denx.de>
> ---
>  drivers/mtd/nand/nand_util.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Applied to u-boot-nand-flash.

-Scott


More information about the U-Boot mailing list