Skip to content
Commit 08cf1a5e authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by Tom Rini
Browse files

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: default avatarJoakim Tjernlund <joakim.tjernlund@infinera.com>
parent 1cd75cea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment