[PATCH u-boot-spi v2 1/9] mtd: spi-nor-core: Try cleaning up in case writing BAR failed

Pratyush Yadav p.yadav at ti.com
Tue Sep 28 18:45:01 CEST 2021


On 25/09/21 07:33PM, Marek Behún wrote:
> From: Marek Behún <marek.behun at nic.cz>
> 
> Use the cleanup codepath of spi_nor_erase() also in the event of failure
> of writing the BAR register.
> 
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>
> Tested-by: Masami Hiramatsu <masami.hiramatsu at linaro.org>

Reviewed-by: Pratyush Yadav <p.yadav at ti.com>

-- 
Regards,
Pratyush Yadav
Texas Instruments Inc.


More information about the U-Boot mailing list