diff options
author | Farhan Ali <farhan.ali@broadcom.com> | 2021-02-25 02:25:53 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-13 00:17:11 +0300 |
commit | c146de48727da66ea7dc43f12bd41814cff2faa8 (patch) | |
tree | e8dda04332332209a06314f9bc6a2d33aea4948c /test/cmd | |
parent | bedab97a21d2c672a4ae96155bf3b53af86752f0 (diff) | |
download | u-boot-c146de48727da66ea7dc43f12bd41814cff2faa8.tar.xz |
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>
Diffstat (limited to 'test/cmd')
0 files changed, 0 insertions, 0 deletions