From: Tom Rini Date: Tue, 13 Apr 2021 10:27:42 -0400 Subject: [PATCH] mtd: Update fail_addr when erase fails due to bad blocks In-Reply-To: <20210224232553.23477-1-farhan.ali@broadcom.com> References: <20210224232553.23477-1-farhan.ali@broadcom.com> Message-ID: <20210413142742.GO1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: