[U-Boot] [PATCH] tools/env: check flash length before probing
Mike Frysinger
vapier at gentoo.org
Sat Jul 21 19:57:56 CEST 2012
On Thursday 05 April 2012 01:29:18 Mike Frysinger wrote:
> If we attempt to probe beyond the end of flash, MEMGETBADBLOCK will fail
> (as well it should), but we end up erroring out with the distracting:
> Cannot read bad block mark: Invalid argument
>
> Instead of the correct error:
> Too few good blocks within range
>
> Re-order the tests so we check for the end of the flash before probing
> so we don't probe blocks that don't exist.
this should be an easy one to pick up :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120721/24b870e6/attachment.pgp>
More information about the U-Boot
mailing list