[PATCH] fw_setenv: Unbreak fw_setenv caused by buggy MEMISLOCKED use

Ivan Mikhaylov fr0st61te at gmail.com
Sun Dec 19 15:20:40 CET 2021


On Sat, 2021-12-18 at 18:23 +0000, Joakim Tjernlund wrote:
> Ping?
> Maybe just revert commit 8a726b852502 ("fw_setenv: lock the flash
> only if it was locked before") ?
> 
> ________________________________________
> From: Joakim Tjernlund <Joakim.Tjernlund at infinera.com>
> Sent: 13 December 2021 18:22
> To: u-boot at lists.denx.de; joe.hershberger at ni.com; fr0st61te at gmail.com
> Subject: Re: [PATCH] fw_setenv: Unbreak fw_setenv caused by buggy
> MEMISLOCKED use
> 
> +Joe Hershberger
> 
>  Jocke
> 
> On Wed, 2021-12-08 at 15:33 +0100, Joakim Tjernlund wrote:
> > Commit "fw_setenv: lock the flash only if it was locked before"
> > checks for Locked status with uninitialized erase data.
> > Address by moving the test for MEMISLOCKED.
> > 
> > Fixes: 8a726b852502 ("fw_setenv: lock the flash only if it was
> > locked before")
> > Signed-off-by: Joakim Tjernlund <joakim.tjernlund at infinera.com>

Joakim, can you provide more detailed description about what you want
to fix or revert, please? In which case you see problems with
8a726b852502?

Thanks.



More information about the U-Boot mailing list