commit | 08cf1a5e6995697bcf2405ae50826634bc43d78a | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <joakim.tjernlund@infinera.com> | Wed Dec 08 15:33:11 2021 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Dec 20 09:21:48 2021 -0500 |
tree | fa2b1ba3c24d2d099ddf517b1a3b8ca4b47a0b65 | |
parent | 1cd75ceae563f87aba9f16a83544c228b811bc97 [diff] |
fw_setenv: Unbreak fw_setenv caused by buggy MEMISLOCKED use 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@infinera.com>