commit | 7c05319880018f19e5555e302e443fb493f692b7 | [log] [tgz] |
---|---|---|
author | Farhan Ali <farhan.ali@broadcom.com> | Wed Feb 24 15:25:53 2021 -0800 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 12 17:17:11 2021 -0400 |
tree | e8dda04332332209a06314f9bc6a2d33aea4948c | |
parent | c422f6242c5b448bb202f4f73e0d8fae3e025e63 [diff] |
mtd: Update fail_addr when erase fails due to bad blocks 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@broadcom.com>