[PATCH] mtd: Update fail_addr when erase fails due to bad blocks

Tom Rini trini at konsulko.com
Tue Apr 13 16:27:42 CEST 2021


On Wed, Feb 24, 2021 at 03:25:53PM -0800, Farhan Ali wrote:

> For all other erase failures, the fail_addr is updated with the
> failing address. Only in the case of erase failure due to bad block
> detection, the fail_addr is not updated. This change simply updates
> the fail_addr for this specific scenario so that it is consistent with
> the rest of the code.
> 
> Signed-off-by: Farhan Ali <farhan.ali at broadcom.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210413/00742a9c/attachment.sig>


More information about the U-Boot mailing list