[U-Boot] [PATCH] CFI: fix eraseregions numblocks

Stefan Roese sr at denx.de
Tue Feb 2 09:12:26 CET 2010


On Thursday 28 January 2010 12:27:14 Ladislav Michl wrote:
> From: Ladislav Michl <ladis at linux-mips.org>
> 
> eraseregions numblocks was sometimes one less than actual, possibly
>  producing erase regions with zero blocks. As MTD code touches eraseregions
>  only if numeraseregions is greater that zero, allocate eraseregions only
>  for non uniform erase size flash.

Applied to u-boot-cfi-flash/master. Thanks.
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list